Skip to content

Commit

Permalink
Update stringsvc.md: change go get to go install & fix example path (#39
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cy6erninja authored Jul 13, 2024
1 parent 813445a commit f75487b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _src/examples/stringsvc.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func encodeResponse(_ context.Context, w http.ResponseWriter, response interface
The complete service so far is [stringsvc1](https://github.com/go-kit/examples/tree/master/stringsvc1).

```
$ go get github.com/go-kit/kit/examples/stringsvc1
$ go install github.com/go-kit/examples/stringsvc1@latest
$ stringsvc1
```

Expand Down Expand Up @@ -478,7 +478,7 @@ func main() {
The complete service so far is [stringsvc2](https://github.com/go-kit/examples/tree/master/stringsvc2).

```
$ go get github.com/go-kit/kit/examples/stringsvc2
$ go install github.com/go-kit/examples/stringsvc2@latest
$ stringsvc2
msg=HTTP addr=:8080
```
Expand Down Expand Up @@ -664,7 +664,7 @@ func proxyingMiddleware(instances string, logger log.Logger) ServiceMiddleware {
The complete service so far is [stringsvc3](https://github.com/go-kit/examples/tree/master/stringsvc3).

```
$ go get github.com/go-kit/kit/examples/stringsvc3
$ go install github.com/go-kit/examples/stringsvc3@latest
$ stringsvc3 -listen=:8001 &
listen=:8001 caller=proxying.go:25 proxy_to=none
listen=:8001 caller=main.go:72 msg=HTTP addr=:8001
Expand Down

0 comments on commit f75487b

Please sign in to comment.