MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Target

Method Target

service/permit-type/type.go:15–23  ·  view source on GitHub ↗
(name string, label string)

Source from the content-addressed store, hash-verified

13}
14
15func (p PermitType) Target(name string, label string) *Target {
16 return &Target{
17 Key: p.KeyOf(name),
18 Type: p,
19 Name: name,
20 Label: label,
21 Tag: p.Tag(),
22 }
23}
24
25const (
26 Invalid PermitType = iota

Callers

nothing calls this directly

Calls 2

KeyOfMethod · 0.95
TagMethod · 0.95

Tested by

no test coverage detected