Versions in this module Expand all Collapse all v1 v1.0.0 Nov 10, 2019 Changes in this version + type Repository interface + Create func(name string, pw, tfa []byte) (*schema.User, error) + Delete func(name string) error + Get func(username string) (schema.User, error) + GetAll func() ([]schema.User, error) + type Usecase interface + Check func(username, pw, token string) error + Create func(name, pw string) (*schema.User, []byte, error) + Delete func(name string) error + Get func(username string) (schema.User, error) + GetAll func() ([]schema.User, error)