(s string)
| 27 | } |
| 28 | |
| 29 | func getBeforeColonPart(s string) string { |
| 30 | if colonIdx := strings.Index(s, ":"); colonIdx != -1 { |
| 31 | return s[:colonIdx] |
| 32 | } |
| 33 | return s |
| 34 | } |
| 35 | |
| 36 | func GenerateMetaMapConsts(buf *strings.Builder, constPrefix string, rtype reflect.Type, embedded bool) { |
| 37 | if !embedded { |
no outgoing calls
no test coverage detected