| 272 | } |
| 273 | |
| 274 | func isStopWord(word string) bool { |
| 275 | stopWords := map[string]bool{ |
| 276 | "the": true, "a": true, "an": true, "and": true, "or": true, |
| 277 | "is": true, "are": true, "was": true, "were": true, |
| 278 | "in": true, "on": true, "at": true, "to": true, "for": true, |
| 279 | "of": true, "with": true, "by": true, "from": true, |
| 280 | "service": true, "request": true, "response": true, |
| 281 | } |
| 282 | return stopWords[word] |
| 283 | } |
| 284 | |
| 285 | // isPrimaryCRUD returns true if the method is a primary CRUD operation without prefixes. |
| 286 | func isPrimaryCRUD(method string) bool { |