spanner_swamp

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

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 3 Imported by: 0

README

spanner_swamp

Run UnitTest

gcloud emulators spanner start --host-port localhost:9030
export SPANNER_EMULATOR_HOST=localhost:9030
go test ./...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShardingSampleStore

type ShardingSampleStore struct {
	// contains filtered or unexported fields
}

func NewShardingSampleStore

func NewShardingSampleStore(ctx context.Context, sc *spanner.Client) (*ShardingSampleStore, error)

func (*ShardingSampleStore) Insert

type UserStore

type UserStore struct {
	// contains filtered or unexported fields
}

func NewUserStore

func NewUserStore(ctx context.Context, sc *spanner.Client) (*UserStore, error)

func (*UserStore) Insert

func (s *UserStore) Insert(ctx context.Context, v *models.User) (ret *models.User, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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