6 lines
147 B
Go
6 lines
147 B
Go
package domain
|
|
|
|
type AccountRepository interface {
|
|
Insert(account *Account) (int, error)
|
|
FetchOneByUsername(username string) (*Account, error)
|
|
}
|