Kode dan Data Wilayah Administrasi Pemerintahah Indonesia sesuai Permendagri No 72 Tahun 2019 (dgn pembaruan data berdasarkan Kepmendagri No.146.1-4717 Tahun 2020).
.
├── app # Configuration file (include `connection`)
├── controller # Controller files
├── helper # Helper function
├── model # Model files (alternatively `entities`)
├ └── domain
├ └── web
├── repository # Repository files (alternatively `persistence`)
├── services # Services files (`business logic`)
├── main
├── readme
└── tests
This service using "MySql" to stored wilayah indonesia has been searched by user.
To connected to this endpoint please ensure your base_url is "localhost:3000" or you can adjust your own port in main.go file
Get provinsi ( GET )
{base_url}/provinsi
Show by wilayah_id ( GET )
{base_url}/wilayah/:wilayah_id
if you face an error when building this service:
error obtaining vcs status: exec: "git": executable file not found in $path use -buildvcs=false to disable vcs stamping.
you must delete your .git configuration file and then try again