Gitiles
Code Review
Sign In
gerrit.opencord.org
/
bbsim
/
e3bd3cbc695bc248ff54aa56cf2961556029db20
/
.
/
vendor
/
github.com
/
grpc-ecosystem
/
grpc-gateway
/
protoc-gen-swagger
/
genswagger
/
helpers_go111_old.go
blob: 8e9458dd8d64aa23186a953a49bdf9de8e895c1b [
file
] [
log
] [
blame
]
//+build !go1.12
package genswagger
import "strings"
func fieldName(k string) string {
return strings.Replace(strings.Title(k), "-", "_", -1)
}