pekerjaan

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) Delete

func (r *Repository) Delete(ctx context.Context, id string) (err error)

func (*Repository) Fetch

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

func (*Repository) GetById

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

func (*Repository) Insert

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

func (*Repository) Update

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

Jump to

Keyboard shortcuts

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