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

Function TargetsOf

service/permit-type/driver.go:19–25  ·  view source on GitHub ↗
(ks ...string)

Source from the content-addressed store, hash-verified

17}
18
19func TargetsOf(ks ...string) []*Target {
20 vs := make([]*Target, 0, len(ks))
21 for _, k := range ks {
22 vs = append(vs, TargetOf(k))
23 }
24 return vs
25}
26func TargetOf(key string) *Target {
27 index := strings.Index(key, ":")
28 if index > 0 {

Callers

nothing calls this directly

Calls 1

TargetOfFunction · 0.85

Tested by

no test coverage detected