Skip to content

Commit

Permalink
fix: 📌 add replace commands to go.mod files (#9)
Browse files Browse the repository at this point in the history
This is currently an ongoing issue with go.work configurations in golang/go#50750
  • Loading branch information
mhornbacher committed Aug 6, 2024
1 parent b000055 commit 86bdc59
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/api/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
module nx-go-playground/api

go 1.21

replace nx-go-playground/logger => ../../libs/logger
replace nx-go-playground/math => ../../libs/math

require (
nx-go-playground/logger v0.0.0-00010101000000-000000000000
nx-go-playground/math v0.0.0-00010101000000-000000000000
)
12 changes: 12 additions & 0 deletions apps/cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
module nx-go-playground/cli

go 1.21

replace nx-go-playground/logger => ../../libs/logger
replace nx-go-playground/math => ../../libs/math
replace nx-go-playground/geometry => ../../libs/geometry

require (
nx-go-playground/geometry v0.0.0-00010101000000-000000000000
nx-go-playground/logger v0.0.0-00010101000000-000000000000
)

require nx-go-playground/math v0.0.0-00010101000000-000000000000 // indirect

4 changes: 4 additions & 0 deletions libs/geometry/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module nx-go-playground/geometry

go 1.21

replace nx-go-playground/math => ../math

require nx-go-playground/math v0.0.0-00010101000000-000000000000

0 comments on commit 86bdc59

Please sign in to comment.