kota

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

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

func (*Repository) GetKotaByIdProvinsi

func (r *Repository) GetKotaByIdProvinsi(ctx context.Context, id_prov string) (dest []pmbulbi.WilayahKota, err error)

func (*Repository) GetKotaByIdProvinsiNamaKota

func (r *Repository) GetKotaByIdProvinsiNamaKota(ctx context.Context, id_prov string, kota string) (dest []pmbulbi.WilayahKota, err error)

Jump to

Keyboard shortcuts

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