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