- Clone
- Copy and rename
.env.sample
to.env
. Set the database and port. - Import the
tables.sql
to 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 ./...