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

Function getLabels

service/api/iml.go:189–194  ·  view source on GitHub ↗
(input *api.Info, appends ...string)

Source from the content-addressed store, hash-verified

187 })
188}
189func getLabels(input *api.Info, appends ...string) []string {
190 labels := make([]string, 0, len(appends)+9)
191 labels = append(labels, input.UUID, input.Name, input.Description, input.Path, input.Service, input.Team, input.Updater)
192 labels = append(labels, appends...)
193 return labels
194}
195func (i *imlAPIService) Create(ctx context.Context, input *Create) (err error) {
196 operater := utils.UserId(ctx)
197 return i.store.Transaction(ctx, func(ctx context.Context) error {

Callers 2

SaveMethod · 0.85
CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected