MCPcopy Create free account
hub / github.com/openclaw/gogcli / getRelationType

Function getRelationType

internal/cmd/groups.go:220–229  ·  view source on GitHub ↗

getRelationType returns a human-readable relation type.

(relationType string)

Source from the content-addressed store, hash-verified

218
219// getRelationType returns a human-readable relation type.
220func getRelationType(relationType string) string {
221 switch relationType {
222 case "DIRECT":
223 return "direct"
224 case "INDIRECT":
225 return "indirect"
226 default:
227 return relationType
228 }
229}
230
231type GroupsMembersCmd struct {
232 GroupEmail string `arg:"" name:"groupEmail" help:"Group email (e.g., engineering@company.com)"`

Callers 3

TestGetRelationTypeFunction · 0.85
RunMethod · 0.85
TestGetRelationType_MoreFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestGetRelationTypeFunction · 0.68
TestGetRelationType_MoreFunction · 0.68