Skip to content

Commit

Permalink
fixed ordering in docs + sum regen
Browse files Browse the repository at this point in the history
  • Loading branch information
utrack committed Jun 14, 2018
1 parent cca6699 commit d108eec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions doc/example/pb/sum.pb.go

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

6 changes: 4 additions & 2 deletions doc/example/pb/sum.pb.goclay.go

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

4 changes: 2 additions & 2 deletions transport/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ type ServiceDesc interface {
// Router routes HTTP requests around.
type Router interface {
http.Handler
Method(pattern string, method string, h http.Handler)
MethodFunc(pattern string, method string, h http.HandlerFunc)
Method(method string, pattern string, h http.Handler)
MethodFunc(method string, pattern string, h http.HandlerFunc)
// Use makes this router use middlewares passed.
Use(middlewares ...func(http.Handler) http.Handler)
}

0 comments on commit d108eec

Please sign in to comment.