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