MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewOptionalString

Function NewOptionalString

types/optional_string.go:12–17  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

10}
11
12func NewOptionalString(v string) OptionalString {
13 return OptionalString{
14 IsSet: true,
15 Value: v,
16 }
17}
18
19func (o *OptionalString) UnmarshalJSON(rawJSON []byte) error {
20 o.IsSet = true

Calls

no outgoing calls

Tested by

no test coverage detected