go-kit / go-kit.github.io

The gokit.io website.
MIT License
21 stars 28 forks source link

stringsvc example: Fix NewServer invocation #4

Closed Bo0mer closed 7 years ago

Bo0mer commented 7 years ago

The NewServer function does not take context.Context as its first argument anymore. See https://godoc.org/github.com/go-kit/kit/transport/http#NewServer.

Bo0mer commented 7 years ago

Ah, it duplicates https://github.com/go-kit/go-kit.github.io/pull/3, but removes the ctx variable declaration as well.