Qile Liang's blog

归档 · 2023

首页

关于

归档

golang xxx is relative, but relative import paths are not supported in module mode

Golang package managementGo has its own package management system named “go modules”. It was introduced in Go 1.11as an official solution for golang’s package management. With go modules mode, we no longer need to place our code in $GOPATH directory. Go initIn golang modules mode, we cant import our package in our project directly ( like what we do in pyt..

更多