Documentation ¶
Index ¶
- func GetInterface(subValue interface{}) map[string]interface{}
- func Rollback(ctx context.Context, client *firestore.Client, firestoreLocation string, ...) (map[string]interface{}, *firestore.WriteResult, error)
- type ArrayValue
- type BooleanValue
- type BytesValue
- type DoubleValue
- type IntegerValue
- type MapValue
- type NullValue
- type ReferenceValue
- type StringValue
- type TimestampValue
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInterface ¶
func GetInterface(subValue interface{}) map[string]interface{}
passedField takes arrayValue
Types ¶
type ArrayValue ¶
type ArrayValue struct {
Values []Value `json:"values"`
}
type BooleanValue ¶
type BooleanValue struct {
BooleanValue string `json:"booleanValue"`
}
type BytesValue ¶
type BytesValue struct {
BytesValue string `json:"bytesValue"`
}
type DoubleValue ¶
type DoubleValue struct {
DoubleValue string `json:"doubleValue"`
}
type IntegerValue ¶
type IntegerValue struct {
IntegerValue string `json:"integerValue,omitempty"`
}
type ReferenceValue ¶
type ReferenceValue struct {
ReferenceValue string `json:"referenceValue"`
}
type StringValue ¶
type StringValue struct {
StringValue string `json:"stringValue"`
}
type TimestampValue ¶
type TimestampValue struct {
TimestampValue string `json:"timestampValue"`
}
type Value ¶
type Value struct { MapValue MapValue `json:"mapValue,omitempty"` StringValue StringValue `json:"stringValue,omitempty"` IntegerValue IntegerValue `json:"integerValue,omitempty"` ArrayValue ArrayValue `json:"arrayValue,omitempty"` BooleanValue BooleanValue `json:"booleanValue,omitempty"` DoubleValue DoubleValue `json:"doubleValue,omitempty"` }
This is inside an array again. Always confuse.
Click to show internal directories.
Click to hide internal directories.