Versions in this module Expand all Collapse all v2 v2.7.3 May 17, 2025 v2.7.2 May 17, 2025 Changes in this version + type ChocolateStorage struct + func NewChocolateStorage() *ChocolateStorage + func (s *ChocolateStorage) Delete(id string) error + func (s *ChocolateStorage) Insert(c model.Chocolate) string + func (s *ChocolateStorage) Update(c model.Chocolate) error + func (s ChocolateStorage) GetAll() []model.Chocolate + func (s ChocolateStorage) GetOne(id string) (model.Chocolate, error) + type UserStorage struct + func NewUserStorage() *UserStorage + func (s *UserStorage) Delete(id string) error + func (s *UserStorage) Insert(c model.User) string + func (s *UserStorage) Update(c model.User) error + func (s UserStorage) GetAll() map[string]*model.User + func (s UserStorage) GetOne(id string) (model.User, error) Other modules containing this package github.com/artpar/api2go