Install the Gin framework today, first download the gin, the command is as follows:
Go get github.com/mattn/go-sqlite3
Result Error:
Package golang.org/x/net/context:unrecognized Import Path "Golang.org/x/net/context" (https Fetch:get https:// Golang.org/x/net/context?go-get=1:dial TCP 216.239.37.1:443:CONNECTEX:A connection attempt failed because the CONNECTE D party didn't properly respond after a period of time, or established connection failed because connected host had Faile D to respond.)
The way to do this is:
?
1 2 3 4 |
$ mkdir -p $GOPATH /src/golang .org /x/ $ CD $GOPATH /src/golang .org Code class= "Bash plain" >/x/ $git clone https: //github .com / Golang/net .git net $go install net |
Install the net package, and then install Go-sqlite3, the installation is successful.
Go get error Unrecognized import path "Golang.org/x/net/context" ...