mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 21:56:50 +08:00
10 lines
146 B
Go
10 lines
146 B
Go
//+build go1.12
|
|
|
|
package genopenapi
|
|
|
|
import "strings"
|
|
|
|
func fieldName(k string) string {
|
|
return strings.ReplaceAll(strings.Title(k), "-", "_")
|
|
}
|