repository

package
v0.0.0-...-8306d54 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(projectID string) *datastore.Client

Types

type ProjectRepository

type ProjectRepository interface {
	List(cursor string, limit int) ([]*model.Project, string, error)
	Put(project *model.Project) error
}

func NewProjectRepository

func NewProjectRepository(client *datastore.Client) ProjectRepository

type UserRepository

type UserRepository interface {
	List(cursor string, limit int) ([]*model.User, string, error)
	Put(user *model.User) error
}

func NewUserRepository

func NewUserRepository(client *datastore.Client) UserRepository

Jump to

Keyboard shortcuts

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