Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions chapter2/sample/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions chapter2/sample/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions chapter2/sample/.idea/sample.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions chapter2/sample/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions chapter2/sample/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// https://go.dev/ref/mod
// https://go.dev/doc/modules/gomod-ref
// https://www.digitalocean.com/community/tutorials/how-to-use-go-modules
// https://thewebivore.com/using-replace-in-go-mod-to-point-to-your-local-module/

module sample
go 1.18

replace github.com/goinaction/code/chapter2/sample/matchers => ./matchers
replace github.com/goinaction/code/chapter2/sample/search => ./search
require (
github.com/goinaction/code/chapter2/sample/matchers v1.0.0
)
require (
github.com/goinaction/code/chapter2/sample/search v1.0.0
)

2 changes: 2 additions & 0 deletions chapter2/sample/matchers/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module matchers
go 1.18
2 changes: 2 additions & 0 deletions chapter2/sample/search/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module search
go 1.18