MCPcopy Create free account
hub / github.com/UESTCByteDance/ByteRhythm / LoadUser

Function LoadUser

config/config.go:74–79  ·  view source on GitHub ↗
(file *ini.File)

Source from the content-addressed store, hash-verified

72}
73
74func LoadUser(file *ini.File) {
75 Avatar = file.Section("User").Key("Avatar").String()
76 Background = file.Section("User").Key("Background").String()
77 Signature = file.Section("User").Key("Signature").String()
78 wg.Done()
79}
80
81func LoadEtcd(file *ini.File) {
82 EtcdHost = file.Section("Etcd").Key("EtcdHost").String()

Callers 1

InitFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected