containsFINAL reports whether s contains the uppercase keyword FINAL as a whole word. A simple strings.Contains is sufficient because SQL() always emits keywords in uppercase.
(s string)
| 230 | // whole word. A simple strings.Contains is sufficient because SQL() always |
| 231 | // emits keywords in uppercase. |
| 232 | func containsFINAL(s string) bool { |
| 233 | return strings.Contains(s, "FINAL") |
| 234 | } |
no outgoing calls
no test coverage detected