(text string)
| 1019 | } |
| 1020 | |
| 1021 | func hasDisallowedTurnStatusLabelSubject(text string) bool { |
| 1022 | subject := leadingLetters(text) |
| 1023 | switch subject { |
| 1024 | case "agent", "i", "it", "the", "we": |
| 1025 | return true |
| 1026 | default: |
| 1027 | return false |
| 1028 | } |
| 1029 | } |
| 1030 | |
| 1031 | func leadingLetters(text string) string { |
| 1032 | for i, r := range text { |
no test coverage detected