store

package
v0.0.0-...-5e1f324 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoSuchEntity = datastore.ErrNoSuchEntity
)

Functions

This section is empty.

Types

type Store

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

func NewStore

func NewStore(ctx context.Context, projectID string) (*Store, error)

func (*Store) CreateUser

func (s *Store) CreateUser(ctx context.Context, firstName, lastName string, dob time.Time) (string, error)

func (*Store) GetUser

func (s *Store) GetUser(ctx context.Context, id string) (*model.User, error)

Jump to

Keyboard shortcuts

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