ncDocConverter/internal/api/app.go

17 lines
277 B
Go
Raw Normal View History

2022-09-22 13:22:58 +00:00
package api
import (
"github.com/go-chi/chi/v5"
"rpjosh.de/ncDocConverter/internal/models"
"rpjosh.de/ncDocConverter/pkg/logger"
)
type Api struct {
Logger *logger.Logger
Config *models.WebConfig
}
func (api *Api) SetupServer(router *chi.Mux) {
api.routes(router)
}