feat: initial commit

This commit is contained in:
2024-11-19 16:37:31 -05:00
commit 8e345ffa44
7 changed files with 222 additions and 0 deletions

16
main.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import (
"fmt"
"log/slog"
"git.yadunut.dev/yadunut.dev/site"
)
func main() {
c := site.NewConfig(slog.LevelDebug, 8080)
c.Logger.Info("Starting server")
if err := site.Run(c); err != nil {
c.Logger.Error(fmt.Sprintf("failed with error %s", err))
}
}