MCPcopy Create free account
hub / github.com/corestoreio/pkg / NewByString

Function NewByString

config/_cfgsource/new.go:23–38  ·  view source on GitHub ↗

NewByString creates a new ValueLabelSlice (VLS) from key,value list. It panics when arguments are imbalanced. Example: mySlice := NewValueLabelSlice("http", "HTTP (unsecure)", "https", "HTTPS (TLS)") Error behaviour: NotValid.

(vl ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MustNewByStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected