test-diag/services/api/cmd/server/main.go
jordan 89dd4f836b
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add service component: api
2026-02-01 19:34:27 +00:00

19 lines
366 B
Go

// Package main is the entry point for the api service.
package main
import (
"github.com/jordan/test-diag/pkg/app"
"github.com/jordan/test-diag/services/api/internal/api"
)
func main() {
// Create application
application := app.New("api", app.WithDefaultPort(8001))
// Register routes
api.RegisterRoutes(application)
// Start server
application.Run()
}