How to use a module that is outside of “GOPATH” in another module?


(Saeed Madadi) #1

I’ve created a library as module for personal usage outside of “GOPATH” in “database” folder with this command “go mod init database” and i don’t know:

  • How to use/ import this module in another module?

os: windows, go: v1.11