Using private repository along with go mod

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

2 Likes

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.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.