- Clone
- Copy and rename
.env.sampleto.env. Set the database and port. - Import the
tables.sqlto database to create and insert data to table. - Run
go run main.go
| Endpoint | Method | Param | Desc |
|---|---|---|---|
/student |
GET |
Mengambil daftar siswa | |
/student |
POST |
name, grade |
Menambahkan siswa |
To run unit test along with coverage, run go test -v -cover ./...