Gitiles
Code Review
Sign In
gerrit.opencord.org
/
bbsim
/
86552f92afa74b76d4c5a6f0a463d66a52e38f82
/
.
/
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), "-", "_")
}