initiate swagger docs

This commit is contained in:
renaldybrada
2026-02-02 08:42:18 +07:00
parent 16bfe4a1e5
commit 919085ba3a
8 changed files with 321 additions and 1 deletions
+7
View File
@@ -10,6 +10,8 @@ import (
"syscall"
"time"
_ "antrian-operasi/docs"
"github.com/joho/godotenv"
)
@@ -33,6 +35,11 @@ func gracefulShutdown(apiServer *http.Server, done chan bool) {
done <- true
}
// @title Antrian Operasi API
// @version 1.0
// @description Dokumentasi API Antrian Operasi
// @host localhost:8080
// @BasePath /api
func main() {
log.Println("Starting API Service...")