You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package fails to build because strings package does not have function ReplaceAll.
What did you expect to happen instead:
<!-- Example answer1. It would have rained lettuce from the sky bringing forth a cuddly army of bunnies we could play with-->
go build should exit with exit code 0.
What's your theory on why it isn't working:
<!-- Example answerEvil wizards are hoarding the bunnies and don't want to share. The wizards are casting lettuce protection spells so the catapult won't work.-->
This line uses strings.ReplaceAll, which was only introduced in go1.12.
Steps you follow to reproduce the error:
go1.11
github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger
genswagger.New()
in amain
functiongo build .
strings
package does not have functionReplaceAll
.What did you expect to happen instead:
go build
should exit with exit code0
.What's your theory on why it isn't working:
This line uses
strings.ReplaceAll
, which was only introduced ingo1.12
.grpc-gateway/protoc-gen-swagger/genswagger/generator.go
Line 71 in e652ba0
The text was updated successfully, but these errors were encountered: