MCPcopy Index your code
hub / github.com/mailru/easyjson / String

Struct String

opt/gotemplate_String.go:15–18  ·  view source on GitHub ↗

template type Optional(A) A 'gotemplate'-based type for providing optional semantics without using pointers.

Source from the content-addressed store, hash-verified

13
14// A 'gotemplate'-based type for providing optional semantics without using pointers.
15type String struct {
16 V string
17 Defined bool
18}
19
20// Creates an optional type with a given value.
21func OString(v string) String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected