store

package
v0.0.0-...-8357653 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const UserKind = "userkind"

Variables

This section is empty.

Functions

func NewUser

func NewUser(ctx context.Context, user *User) error

func UpdateUser

func UpdateUser(ctx context.Context, user *User) error

Types

type Kind

type Kind string

type User

type User struct {
	ID     int64
	Email  string
	Notify bool
}

func GetEmails

func GetEmails(ctx context.Context, filter *User) ([]User, error)

func GetUsers

func GetUsers(ctx context.Context, user *User) ([]User, error)

func (*User) Kind

func (u *User) Kind() string

Jump to

Keyboard shortcuts

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