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

Method Get

service/setting/iml.go:34–40  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

32}
33
34func (i *imlSettingService) Get(ctx context.Context, name string) (string, bool) {
35 ev, err := i.store.Get(ctx, name)
36 if err != nil {
37 return "", false
38 }
39 return ev.Value, true
40}
41
42func (i *imlSettingService) Set(ctx context.Context, name string, value string, operator string) error {
43

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected