Skip to content

Commit

Permalink
feat: introducing hello world 3
Browse files Browse the repository at this point in the history
  • Loading branch information
notsu committed Dec 3, 2018
1 parent bc9985e commit c2ebe34
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
dockerfile: ./build/Dockerfile.dev
volumes:
- ./services/post:/src/go
- $GOPATH/pkg/mod:/go/pkg/mod
# - $GOPATH/pkg/mod:/go/pkg/mod
working_dir: /src/go
command: go run main.go

Expand All @@ -18,6 +18,6 @@ services:
dockerfile: ./build/Dockerfile.dev
volumes:
- ./services/user:/src/go
- $GOPATH/pkg/mod:/go/pkg/mod
# - $GOPATH/pkg/mod:/go/pkg/mod
working_dir: /src/go
command: go run main.go
1 change: 0 additions & 1 deletion go.mod

This file was deleted.

2 changes: 1 addition & 1 deletion services/post/hello/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package hello

// Hello to another services
func Hello() string {
return "Hello, World"
return "Hello, World 3"
}
2 changes: 1 addition & 1 deletion services/user/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/notsu/gomono/services/user

require github.com/notsu/gomono/services/post v0.0.0-20181203092009-5a4cbedea3da
require github.com/notsu/gomono/services/post v0.0.0-20181203094246-bc9985ebc58b
5 changes: 2 additions & 3 deletions services/user/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
github.com/notsu/gomono v1.0.0 h1:L+5A38ndmk+PD3PVSiVbkNxCB8/M+rKoLafjc/qD9CU=
github.com/notsu/gomono/services/post v0.0.0-20181203092009-5a4cbedea3da h1:1/Z63A/sby9iPlcPK9vgt+s3jDtryTfG/vPBA0/dDWg=
github.com/notsu/gomono/services/post v0.0.0-20181203092009-5a4cbedea3da/go.mod h1:8JeevdERGziP+laKlTe7nDE0C1zkwFUI/+FHFFQMXNQ=
github.com/notsu/gomono/services/post v0.0.0-20181203094246-bc9985ebc58b h1:TOgzco4g2QDT3/Ehd/zePWs2dJQJKByJ+CT/065jZ80=
github.com/notsu/gomono/services/post v0.0.0-20181203094246-bc9985ebc58b/go.mod h1:8JeevdERGziP+laKlTe7nDE0C1zkwFUI/+FHFFQMXNQ=

0 comments on commit c2ebe34

Please sign in to comment.