data

package
v0.0.0-...-be8e220 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONToMap

func JSONToMap(jsonData []byte) *map[string]interface{}

func MapToBatchMutation

func MapToBatchMutation(objects *[]map[string]interface{}) *[]BatchMutation

func ReadByFile

func ReadByFile(path string) (*[]map[string]interface{}, error)

func SendToSpanner

func SendToSpanner(objects *[]map[string]interface{})

func Write

func Write(mutations []*spanner.Mutation, credentials []byte) bool

Types

type BatchMutation

type BatchMutation struct {
	Mutation []*spanner.Mutation
}

Jump to

Keyboard shortcuts

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