recursive_batch

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestSuite = map[string]testsuite.Test{
	"RealWorld_RecursiveBatch": RealWorld_RecursiveBatch,
}

Functions

func RealWorld_RecursiveBatch

func RealWorld_RecursiveBatch(t *testing.T, ctx context.Context, client datastore.Client)

Types

type Depth1

type Depth1 struct {
	ID         int64     `boom:"id"`
	Depth2IDs  []int64   `json:"-"`
	Depth2List []*Depth2 `datastore:"-"`
}

func (*Depth1) Load

func (d *Depth1) Load(ctx context.Context, ps []datastore.Property) error

func (*Depth1) Save

func (d *Depth1) Save(ctx context.Context) ([]datastore.Property, error)

type Depth2

type Depth2 struct {
	ID         int64     `boom:"id"`
	Depth3IDs  []int64   `json:"-"`
	Depth3List []*Depth3 `datastore:"-"`
}

func (*Depth2) Load

func (d *Depth2) Load(ctx context.Context, ps []datastore.Property) error

func (*Depth2) Save

func (d *Depth2) Save(ctx context.Context) ([]datastore.Property, error)

type Depth3

type Depth3 struct {
	ID   int64  `boom:"id"`
	Name string ``
}

Jump to

Keyboard shortcuts

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