Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ New
Function
New
protocol/text/builder.go:3–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
package
text
2
3
func
New() TextComponent {
4
return
TextComponent{}
5
}
6
7
func
(t TextComponent) WithColor(c string) TextComponent {
8
t.Color = c
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected