Category: Windows
-
Post Views: 15 1. The Go doc tool can only obtain the comments in ../go/src in the go installation directory. In addition, it can also be used as a local document to browse the web server. Enter godoc -http=:6060 on the command line and open it with a browserhttp://localhost:6060After that, you can see the page provided by the local document…
-
Post Views: 14 1. When the data length of PA_LOG is: 6.16 GB, as shown in Figure 1 2. Get the first page of the log list, the response time is about 1000ms, which is acceptable, as shown in Figure 2 3. Get the last page of the log list, the response timeout: 504 gateway time-out, as shown in Figure…
-
Post Views: 18 1. Composer has been installed before, to ensure the latest version is used. You can update Composer to version 1.9.2 by running composer self-update, as shown in Figure 1 2. Updating Yii 2 to the latest version by running Composer Update, the Yii Framework has been upgraded from version 2.0.15.1 to 2.0.31, as shown in Figure 2…
-
Post Views: 16 1. Composer installation: nicolab/php-ftp-client reports an error: The requested php extension ftp is missing from your system, as shown in Figure 1 2. The Windows version of PHP has built-in support for this extension. Edit C:\PHP-7.2.14\php.ini, enable extension: FTP 3. Install again, the installation is successful, as shown in Figure 2
-
Post Views: 11 1. Refer to the Go guide, web server, write file: web-servers.go 2. Accesshttp://localhost:4000/When prompted: The website cannot be accessed, as shown in Figure 1 3. Run in PowerShell: go run web-servers.go, visit againhttp://localhost:4000/When, the output: hello!, as shown in Figure 2
-
Post Views: 12 1. Check the Go file: exercise-maps.go, the code is as follows 2. Run the file, Go reports an error: exercise-maps.go:4:2: Cannot find package “code.google.com/p/go-tour/wc” in any of: C:\Go\src\code.google.com\p\go-tour\wc (from $goroot) C:\Users\Administrator\Go\src\code.google.com\p\go-tour\wc (from $gopath), as shown in Figure 1 3. Open the URL of Go Tour on GitHub:https://github.com/golang/tour, after turning on the blue light connection, install the go…
-
Post Views: 14 1. For Windows users, the Go project provides two installation options (except from the source code installation): The ZIP archive requires you to set some environment variables, and the experimental MSI installer will automatically configure your installation. Open URL:https://studygolang.com/dl, download the MSI installer, as shown in Figure 1 2. Download the file: go1.13.4.windows-amd64.msi, right-click -> install, as…
-
Post Views: 13 1. On the develop branch in the local environment, execute the console command and report an error: as shown in Figure 1 2. Since this bug has been fixed in a single commit (EE8290) on the feature-netease branch, as shown in Figure 2 Therefore, it is decided to merge a single commit (EE8290) on the develop branch…