MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / String

Method String

message/source.go:13–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func (t SourceType) String() string {
14 switch t {
15 case SourcePrivate:
16 return "私聊"
17 case SourceGroup:
18 return "群聊"
19 default:
20 return "unknown"
21 }
22}
23
24// Source 消息来源
25type Source struct {

Callers 1

ToReadableStringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected