Add started message and remove useless type
This commit is contained in:
parent
96ffc31849
commit
62274f6023
1 changed files with 3 additions and 3 deletions
|
@ -13,8 +13,6 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
type server interface{}
|
||||
|
||||
func main() {
|
||||
fx.New(
|
||||
fx.Provide(provideLogger),
|
||||
|
@ -32,7 +30,9 @@ func main() {
|
|||
func(conf *config.Config) {
|
||||
_ = os.MkdirAll(conf.Platform.SitesDirectory, 0777)
|
||||
},
|
||||
func(*http.Server, *caddyController.Controller) {},
|
||||
func(log *slog.Logger, _ *http.Server, _ *caddyController.Controller) {
|
||||
log.Info("Palmatum has started")
|
||||
},
|
||||
),
|
||||
).Run()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue