18 lines
340 B
Go
Raw Normal View History

2025-02-22 12:50:26 +08:00
package main
import (
2025-02-22 16:15:38 +08:00
internalhttp "github.com/ardeman/project-legalgo-go/internal/api/http"
pkgconfig "github.com/ardeman/project-legalgo-go/internal/config"
2025-02-23 13:04:30 +08:00
"github.com/go-chi/chi/v5"
2025-02-22 12:50:26 +08:00
"go.uber.org/fx"
)
func main() {
2025-02-22 16:15:38 +08:00
fx.New(
2025-02-23 13:04:30 +08:00
internalhttp.Module,
fx.Invoke(func(apiRouter chi.Router) {
pkgconfig.Router(apiRouter)
}),
2025-02-22 16:15:38 +08:00
)
2025-02-22 12:50:26 +08:00
}