Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStorage ¶
type PostgresStorage struct {
// contains filtered or unexported fields
}
func NewPostgresStorage ¶
func NewPostgresStorage(dbPool *pgxpool.Pool) PostgresStorage
func (PostgresStorage) CreateUser ¶
func (ps PostgresStorage) CreateUser(user models.User) error
func (PostgresStorage) DeleteUser ¶
func (ps PostgresStorage) DeleteUser(id int) error
func (PostgresStorage) UpdateUser ¶
func (ps PostgresStorage) UpdateUser(user models.User) error
Click to show internal directories.
Click to hide internal directories.