(str string)
| 189 | } |
| 190 | |
| 191 | func wrapstring(str string) string { |
| 192 | if str == "" { |
| 193 | return str |
| 194 | } |
| 195 | words := strings.Fields(str) |
| 196 | if len(words) > 0 { |
| 197 | words[0] = cases.Title(language.English).String(words[0]) |
| 198 | } |
| 199 | return fmt.Sprintf("[g] %s", strings.Join(words, " ")) |
| 200 | } |
no outgoing calls
searching dependent graphs…