Versions in this module Expand all Collapse all v1 v1.0.0 Mar 7, 2021 Changes in this version + const PGErrMsgNoMultiRowsFound + const PGErrMsgNoRowsFound + type Member struct + CreatedAt time.Time + DeletedAt time.Time + Email string + ID string + Name string + PasswordDigest string + UpdatedAt time.Time + type MemberDAO interface + Create func(member Member) (string, *util.BusinessError) + Delete func(memberID string) *util.BusinessError + Get func(memberID string) (Member, *util.BusinessError) + Update func(member Member) *util.BusinessError + type PGMemberDAO struct + func NewPGMemberDAO(client *pg.DB) *PGMemberDAO + func (p *PGMemberDAO) Create(member Member) (string, *util.BusinessError) + func (p *PGMemberDAO) Delete(memberID string) *util.BusinessError + func (p *PGMemberDAO) Get(memberID string) (Member, *util.BusinessError) + func (p *PGMemberDAO) Update(member Member) *util.BusinessError