MCPcopy Create free account
hub / github.com/NextDotID/proof_server / Init

Function Init

validator/github/github.go:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38)
39
40func Init() {
41 if validator.PlatformFactories == nil {
42 validator.PlatformFactories = make(map[types.Platform]func(*validator.Base) validator.IValidator)
43 }
44 validator.PlatformFactories[types.Platforms.Github] = func(base *validator.Base) validator.IValidator {
45 gh := Github{base}
46 return &gh
47 }
48}
49
50func (gh *Github) GeneratePostPayload() (post map[string]string) {
51 gh.Identity = strings.ToLower(gh.Identity)

Callers 4

TestMainFunction · 0.92
init_validatorsFunction · 0.92
init_validatorsFunction · 0.92
init_validatorsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestMainFunction · 0.74