Versions in this module Expand all Collapse all v0 v0.2.0 Aug 15, 2020 v0.1.0 Aug 9, 2020 Changes in this version + type Entity struct + Email string + ID int + Name string + Password string + Phone string + func (e Entity) Filter() interface{} + type IEntity interface + Filter func() interface{} + type IUser interface + Add func(ctx context.Context, e Entity) (id int, err error) + GetByID func(ctx context.Context, id int) (e Entity, err error) + GetByName func(ctx context.Context, name string) (e Entity, err error) + GetFirst func(ctx context.Context) (e Entity, err error) + VerifyByNameAndPassword func(ctx context.Context, name string, password string) (e Entity, err error) + func New() IUser