()
| 30 | } |
| 31 | |
| 32 | func (t TextComponent) WithObfuscation() TextComponent { |
| 33 | t.Obfuscated = !t.Obfuscated |
| 34 | return t |
| 35 | } |
| 36 | |
| 37 | func Color(c string) TextComponent { |
| 38 | return TextComponent{Color: c} |
nothing calls this directly
no outgoing calls
no test coverage detected