IsGoKeyword returns whether the given string is a go keyword
(str string)
| 705 | |
| 706 | // IsGoKeyword returns whether the given string is a go keyword |
| 707 | func IsGoKeyword(str string) bool { |
| 708 | return token.IsKeyword(str) |
| 709 | } |
| 710 | |
| 711 | // IsPredeclaredGoIdentifier returns whether the given string |
| 712 | // is a predefined go identifier. |
no outgoing calls
no test coverage detected