Is this an exported - upper case - name?
(name string)
| 38 | |
| 39 | // Is this an exported - upper case - name? |
| 40 | func isExported(name string) bool { |
| 41 | rune, _ := utf8.DecodeRuneInString(name) |
| 42 | return unicode.IsUpper(rune) |
| 43 | } |
| 44 | |
| 45 | // Is this type exported or a builtin? |
| 46 | func isExportedOrBuiltinType(t reflect.Type) bool { |
no outgoing calls
no test coverage detected