blob: 3615596f7c12438c7e2d5d6ea66b08ba881463cb [file] [log] [blame]
Arjun E K57a7fcb2020-01-30 06:44:45 +00001//+build go1.12
2
3package genswagger
4
5import "strings"
6
7func fieldName(k string) string {
8 return strings.ReplaceAll(strings.Title(k), "-", "_")
9}