Documentation
¶
Index ¶
- type Repository
- func (r *Repository) Fetch(ctx context.Context) (val []pmbulbi.WilayahKelurahan, err error)
- func (r *Repository) GetKelurahanByIdKecamatan(ctx context.Context, id_kecamatan string) (dest []pmbulbi.WilayahKelurahan, err error)
- func (r *Repository) GetKelurahanByIdKecamatanNamaKelurahan(ctx context.Context, id_kecamatan, kelurahan string) (dest []pmbulbi.WilayahKelurahan, err error)
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.WilayahKelurahan, err error)
func (*Repository) GetKelurahanByIdKecamatan ¶
func (r *Repository) GetKelurahanByIdKecamatan(ctx context.Context, id_kecamatan string) (dest []pmbulbi.WilayahKelurahan, err error)
func (*Repository) GetKelurahanByIdKecamatanNamaKelurahan ¶
func (r *Repository) GetKelurahanByIdKecamatanNamaKelurahan(ctx context.Context, id_kecamatan, kelurahan string) (dest []pmbulbi.WilayahKelurahan, err error)
Click to show internal directories.
Click to hide internal directories.