Three problems encountered in installing Gin framework are solved

  • The first time I installed gin , go get -u xxxxI wrote a simple example runafter downloading it, and then I found a bunch of errors, all of which were problems with the package.
    go get -u github.com/gin-gonic/gin
    
  • Then find a website go (requires a ladder), you can find a lot of packages on it
  • Some libraries go get -u xxxxcannot be downloaded, so you need to manually download and then put the source code of the package in the corresponding prompt directory ( runthe path of the error prompt afterwards)
  • Some libraries have been updated, you need to find this library in the historical version, download it and manually put it in the gopathcorresponding directory

Guess you like

Origin blog.csdn.net/MoLiao2046/article/details/110673645