Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ WithColor
Method
WithColor
protocol/text/builder.go:7–10 ·
view source on GitHub ↗
(c string)
Source
from the content-addressed store, hash-verified
5
}
6
7
func
(t TextComponent) WithColor(c string) TextComponent {
8
t.Color = c
9
return
t
10
}
11
12
func
(t TextComponent) WithText(c string) TextComponent {
13
t.Text = c
Callers
1
gc.go
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected