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"
)

Variables

This section is empty.

Functions

func GetBoardCollection

func GetBoardCollection(groupID string) string

func GetGroupID

func GetGroupID(groupRef string) string

func GetGroupReference

func GetGroupReference(groupID string) string

func GetUserReference

func GetUserReference(userID string) string

func NewBoardPersistence

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

NewBoardPersistence - BoardRepositoryの生成

func NewGroupPersistence

func NewGroupPersistence(fs *firestore.Firestore) repository.GroupRepository

NewGroupPersistence - GroupRepositoryの生成

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