rollback

package module
v0.0.0-...-c8214d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 7 Imported by: 0

README

Firestore Rollback

Go Reference

Go packages for Google Cloud Platform services.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInterface

func GetInterface(subValue interface{}) map[string]interface{}

func Rollback

func Rollback(ctx context.Context, client *firestore.Client, firestoreLocation string, subValue interface{}) (map[string]interface{}, *firestore.WriteResult, error)

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 MapValue

type MapValue struct {
	Fields interface{} `json:"fields"`
}

type NullValue

type NullValue struct {
	NulLValue string `json:"nullValue"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL