MCPcopy
hub / github.com/spf13/pflag / String

Method String

string_array.go:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (s *stringArrayValue) String() string {
53 str, _ := writeAsCSV(*s.value)
54 return "[" + str + "]"
55}
56
57func stringArrayConv(sval string) (interface{}, error) {
58 sval = sval[1 : len(sval)-1]

Callers

nothing calls this directly

Calls 1

writeAsCSVFunction · 0.85

Tested by

no test coverage detected