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