MCPcopy Create free account
hub / github.com/Shopify/goose / StringVar

Method StringVar

profiler/ui.go:142–148  ·  view source on GitHub ↗
(p *string, s, d, _ string)

Source from the content-addressed store, hash-verified

140}
141
142func (f inlineFlagset) StringVar(p *string, s, d, _ string) {
143 if t, ok := f.strings[s]; ok {
144 *p = t
145 } else {
146 *p = d
147 }
148}
149
150func (f inlineFlagset) StringList(s, d, _ string) *[]*string {
151 return &[]*string{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected