Improve settings auto-discovery, make it provisionable
This commit is contained in:
@@ -29,6 +29,11 @@ type (
|
||||
}
|
||||
)
|
||||
|
||||
var (
|
||||
Monolith = false
|
||||
BaseURL = "/"
|
||||
)
|
||||
|
||||
func NewServer(log *zap.Logger) *Server {
|
||||
return &Server{
|
||||
endpoints: make([]func(r chi.Router), 0),
|
||||
|
||||
Reference in New Issue
Block a user