Using private repository along with go mod


(Gireesh Kademani) #1

Hi Gopher’s

I am new to go mod, over the years i was building an application, I have used three private repository along with the third party packages, now i need to create a mod on the project, am facing problem as mentioned below

build project: cannot load gitlab.com/eiconnect/treastech/configreader: cannot find module providing package gitlab.com/eiconnect/treastech/configreader"

Thanks in advance


(Holloway) #2

Is the dependency package having go.mod? Currently, I’m using replace clauses for my main private repository and a build script to git clone them to the path I designated.