Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FloatTech/ZeroBot-Plugin-Playground
/ getLightsData
Function
getLightsData
plugin/klala/x.go:129–133 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
127
}
128
129
func
getLightsData() (m lightData) {
130
txt, _ := os.ReadFile(lightsPath)
131
_ = json.Unmarshal(txt, &m)
132
return
133
}
134
135
func
getLightAffix() (m lightAffix) {
136
txt, _ := os.ReadFile(lightAffixPath)
Callers
1
convertData
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected