Documentation ¶
Index ¶
- func New(db *gorm.DB) (storage.Store, error)
- type Storage
- func (s Storage) Add(a account.Account) (*account.Account, error)
- func (s Storage) FindAll() (res []*account.Account, err error)
- func (s Storage) FindByGUID(guid string) (*account.Account, error)
- func (s Storage) FindByLoginID(login string) (*account.Account, error)
- func (s Storage) Remove(a account.Account) error
- func (s Storage) Update(a account.Account) (*account.Account, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Storage ¶
func (Storage) FindByLoginID ¶
Click to show internal directories.
Click to hide internal directories.