persistence

package
v0.0.0-...-1c0d007 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UserCollection - UserCollection名
	UserCollection = "users"
	// GroupCollection - GroupCollection名
	GroupCollection = "groups"
	// BoardCollection - BoardCollection名
	BoardCollection = "boards"
	// BoardListCollection - BoardListCollection名
	BoardListCollection = "board_lists"
	// TaskCollection - TaskCollection名
	TaskCollection = "tasks"
)

Variables

This section is empty.

Functions

func GetBoardCollection

func GetBoardCollection(groupID string) string

func GetBoardListCollection

func GetBoardListCollection(groupID string, boardID string) string

func GetGroupReference

func GetGroupReference(groupID string) string

func GetTaskCollection

func GetTaskCollection() string

func NewBoardPersistence

func NewBoardPersistence(fs *firestore.Firestore) repository.BoardRepository

NewBoardPersistence - BoardRepositoryの生成

func NewTaskPersistence

func NewTaskPersistence(fs *firestore.Firestore) repository.TaskRepository

NewTaskPersistence - TaskRepositoryの生成

func NewUserPersistence

func NewUserPersistence(fa *authentication.Auth, fs *firestore.Firestore) repository.UserRepository

NewUserPersistence - UserRepositoryの生成

Types

This section is empty.

Jump to

Keyboard shortcuts

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