MCPcopy Index your code
hub / github.com/go-task/task / String

Method String

experiments/experiment.go:62–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (x Experiment) String() string {
63 if x.Enabled() {
64 return fmt.Sprintf("on (%d)", x.Value)
65 }
66 return "off"
67}

Callers

nothing calls this directly

Calls 1

EnabledMethod · 0.95

Tested by

no test coverage detected