Skip to content

Update stringsvc.md: change go get to go install & fix example path #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2024
Merged
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
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