- Set up SSH with the remote git
- Set
GOPRIVATE
in.pam_environment
GOPRIVATE=sabariram.com
- Set the global config of git
[email protected]:SabariramC/goserverbase.insteadof=https://github.com/sabariramc/goserverbase/v6
- In the module that is going to use this package add the following in the go.mod file
replace github.com/sabariramc/goserverbase/v6 => github.com/sabariramc/goserverbase/v6.git <<tag>>
eg:
replace github.com/sabariramc/goserverbase/v6 => github.com/sabariramc/goserverbase/v6.git v0.1.1