isExported reports whether the identifier is exported.
(id string)
| 385 | |
| 386 | // isExported reports whether the identifier is exported. |
| 387 | func isExported(id string) bool { |
| 388 | r, _ := utf8.DecodeRuneInString(id) |
| 389 | return unicode.IsUpper(r) |
| 390 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…