Skip to content

Commit

Permalink
Merge pull request #112 from shawnps/master
Browse files Browse the repository at this point in the history
gofmt -s
  • Loading branch information
yugui committed Feb 26, 2016
2 parents e40ac31 + 45eebc3 commit 8ef22a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protoc-gen-swagger/genswagger/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func resolveFullyQualifiedNameToSwaggerName(fqn string, messages []string) strin

for _, p := range messages {
h := hierarchy(p)
for depth, _ := range h {
for depth := range h {
if _, ok := packagesByDepth[depth]; !ok {
packagesByDepth[depth] = make([][]string, 0)
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/url"
"testing"

"github.com/gengo/grpc-gateway/utilities"
"github.com/gengo/grpc-gateway/runtime"
"github.com/gengo/grpc-gateway/utilities"
"github.com/golang/protobuf/proto"
)

Expand Down

0 comments on commit 8ef22a6

Please sign in to comment.