File tree Expand file tree Collapse file tree 12 files changed +96
-0
lines changed Expand file tree Collapse file tree 12 files changed +96
-0
lines changed Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "github.com/bigwhite/privatemodule3"
5+ "mycompany.com/go/privatemodule1"
6+ "mycompany.com/go/privatemodule2"
7+ )
8+
9+ func main () {
10+ privatemodule3 .F ()
11+ privatemodule2 .F ()
12+ privatemodule1 .F ()
13+ }
Original file line number Diff line number Diff line change 1+ module app
2+
3+ go 1.19
4+
5+ require (
6+ github.com/bigwhite/privatemodule3 v0.0.0-20230227061700-3762215e798f
7+ mycompany.com/go/privatemodule1 v1.0.0
8+ mycompany.com/go/privatemodule2 v1.0.0
9+ )
10+
11+ replace (
12+ mycompany.com/go/privatemodule1 v1.0.0 => 10.10.30.30/ard/incubators/privatemodule1.git v0.0.0-20230227061032-c4a6ea813d1a
13+ mycompany.com/go/privatemodule2 v1.0.0 => github.com/bigwhite/privatemodule2 v0.0.0-20230227061454-a2de3aaa7b27
14+ )
Original file line number Diff line number Diff line change 1+ 10.10.30.30/ard/incubators/privatemodule1.git v0.0.0-20230227061032-c4a6ea813d1a h1:09Kc4ELxUgzmmOmjYQkmfDMyG1iTnmUfHmJaFi2MgL0 =
2+ 10.10.30.30/ard/incubators/privatemodule1.git v0.0.0-20230227061032-c4a6ea813d1a /go.mod h1:0Aaj7LxPmJ0DzArgzPFGLLhs94rfxY+XHhaWqgAEmj8 =
3+ github.com/bigwhite/privatemodule2 v0.0.0-20230227061454-a2de3aaa7b27 h1:ZJSLNsJyS2q8s3TjGxgvDi0BIjC6AfmiLgfa+om9Mow =
4+ github.com/bigwhite/privatemodule2 v0.0.0-20230227061454-a2de3aaa7b27 /go.mod h1:muqLObhFuYk34A8ml4ddlIQREb+LZ5wQSpQzZ+0/48U =
5+ github.com/bigwhite/privatemodule3 v0.0.0-20230227061700-3762215e798f h1:plaoz3vdbZxkLGne/TdSpy2qBSzMkfmRsSIr+rTVJkA =
6+ github.com/bigwhite/privatemodule3 v0.0.0-20230227061700-3762215e798f /go.mod h1:enVYiChKPiXSKxQJrD3mQaSc/IFyolMlIiYCe8HF0cw =
Original file line number Diff line number Diff line change 1+ # privatemodule1
2+
3+ test repo
Original file line number Diff line number Diff line change 1+ module mycompany.com/go/privatemodule1
2+
3+ go 1.19
Original file line number Diff line number Diff line change 1+ package privatemodule1
2+
3+ import "fmt"
4+
5+ func F () {
6+ fmt .Println ("invoke F of mycompany.com/go/privatemodule1" )
7+ }
Original file line number Diff line number Diff line change 1+ # Binaries for programs and plugins
2+ * .exe
3+ * .exe~
4+ * .dll
5+ * .so
6+ * .dylib
7+
8+ # Test binary, built with `go test -c`
9+ * .test
10+
11+ # Output of the go coverage tool, specifically when used with LiteIDE
12+ * .out
13+
14+ # Dependency directories (remove the comment below to include it)
15+ # vendor/
Original file line number Diff line number Diff line change 1+ module mycompany.com/go/privatemodule2
2+
3+ go 1.19
Original file line number Diff line number Diff line change 1+ package privatemodule2
2+
3+ import "fmt"
4+
5+ func F () {
6+ fmt .Println ("invoke F of mycompany.com/go/privatemodule2" )
7+ }
Original file line number Diff line number Diff line change 1+ # Binaries for programs and plugins
2+ * .exe
3+ * .exe~
4+ * .dll
5+ * .so
6+ * .dylib
7+
8+ # Test binary, built with `go test -c`
9+ * .test
10+
11+ # Output of the go coverage tool, specifically when used with LiteIDE
12+ * .out
13+
14+ # Dependency directories (remove the comment below to include it)
15+ # vendor/
You can’t perform that action at this time.
0 commit comments