kecamatan

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.WilayahKecamatan, err error)

func (*Repository) GetKecamatanByIdKota

func (r *Repository) GetKecamatanByIdKota(ctx context.Context, id_kota string) (dest []pmbulbi.WilayahKecamatan, err error)

func (*Repository) GetKecamatanByIdKotaNamaKecamatan added in v0.5.3

func (r *Repository) GetKecamatanByIdKotaNamaKecamatan(ctx context.Context, id_kota, kecamatan string) (dest []pmbulbi.WilayahKecamatan, err error)

Jump to

Keyboard shortcuts

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