- move error message into separate file - move choose repo function from helper to repo helper - adding logic for remove existing test data if any for each test file - remove change password and user activation from login interface
10 lines
181 B
Go
10 lines
181 B
Go
package services
|
|
|
|
import (
|
|
m "github.com/rinosukmandityo/hexagonal-login/models"
|
|
)
|
|
|
|
type LoginService interface {
|
|
Authenticate(username, password string) (bool, *m.User, error)
|
|
}
|