Documentation
¶
Overview ¶
Package str implements a kiwi.Value which can store a simple string.
Index ¶
Constants ¶
View Source
const ( // Get gets the string value. // // Returns a string. Get kiwi.Action = "GET" // Update updates the value of the string. // // Returns the updated string. Update kiwi.Action = "UPDATE" )
View Source
const Type kiwi.ValueType = "str"
Type of str value.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value string
Value can store a string.
It implements the kiwi.Value interface.
func (*Value) FromJSON ¶
func (v *Value) FromJSON(rawmessage json.RawMessage) error
FromJSON populates the s with the data from RawMessage
Click to show internal directories.
Click to hide internal directories.