runners and fixes
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
"time"
|
||||
|
||||
"git.nix13.pw/scuroneko/laniakea"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
"github.com/vinovest/sqlx"
|
||||
)
|
||||
@@ -151,8 +150,9 @@ func (rep *UserRepository) Update(user *User) (*User, error) {
|
||||
return rep.GetById(user.ID)
|
||||
}
|
||||
|
||||
func GetAllUsers() ([]*User, error) {
|
||||
func (rep *UserRepository) GetAll() ([]*User, error) {
|
||||
users := make([]*User, 0)
|
||||
|
||||
return users, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user