pendaftar

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(db *gorm.DB) *Repository

func (*Repository) CheckUserExists added in v0.4.6

func (r *Repository) CheckUserExists(ctx context.Context, email, phoneNum string) (res bool)

func (*Repository) Fetch

func (r *Repository) Fetch(ctx context.Context) (val []pmbulbi.Pendaftaran, err error)

func (*Repository) GetByEmail added in v0.5.0

func (r *Repository) GetByEmail(ctx context.Context, email string) (res pmbulbi.Pendaftaran, err error)

func (*Repository) GetByEmailOrPhone added in v0.4.9

func (r *Repository) GetByEmailOrPhone(ctx context.Context, email, phoneNum string) (res pmbulbi.Pendaftaran, err error)

func (*Repository) GetByEmailPass added in v0.4.6

func (r *Repository) GetByEmailPass(ctx context.Context, email, password string) (data pmbulbi.Pendaftaran, err error)

func (*Repository) GetById

func (r *Repository) GetById(ctx context.Context, id string) (dest pmbulbi.Pendaftaran, err error)

func (*Repository) GetByPhone added in v0.5.0

func (r *Repository) GetByPhone(ctx context.Context, phoneNum string) (res pmbulbi.Pendaftaran, err error)

func (*Repository) GetByPhoneNumPass added in v0.4.6

func (r *Repository) GetByPhoneNumPass(ctx context.Context, email, password string) (data pmbulbi.Pendaftaran, err error)

func (*Repository) Insert added in v0.4.4

func (r *Repository) Insert(ctx context.Context, val pmbulbi.Pendaftaran) (err error)

func (*Repository) Update added in v0.4.7

func (r *Repository) Update(ctx context.Context, id string, data pmbulbi.Pendaftaran) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL