How to import local packages in go?
![]() |
From go 1.12+ go modules is the new way of handling dependencies. To fix dependency version go mod init To bring modules in vendor folder go mod vendor To build from the vendor directory go build -mod vendor -o output |