store

package
v0.0.0-...-ca71e2f Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormStore

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

func NewGormStore

func NewGormStore(db *gorm.DB) *GormStore

func (*GormStore) Project

func (s *GormStore) Project() ProjectStore

type ProjectStore

type ProjectStore interface {
	GetAll(projects *[]model.Project) error
	Create(project *model.Project) error
	Find(project *model.Project) error
	Delete(project *model.Project) error
	Update(project *model.Project) error
	CountAll() (int, error)
	Clear()
}

type Store

type Store interface {
	Project() ProjectStore
}

Jump to

Keyboard shortcuts

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