aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/api/main.go
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-03-11 19:39:00 +0000
committerMatthew Lemon <y@yulqen.org>2024-03-11 19:39:00 +0000
commitbac244e9d1cc2f3af4a63c662f38be60a1bcf7fd (patch)
tree8be7381f92d9bb3eb9e3a4434ea71ba8000d45e2 /cmd/api/main.go
parent02bf649c8981af4b46a18d9643386f7227f156a1 (diff)
Adds a writeJSON helper
Diffstat (limited to '')
-rw-r--r--cmd/api/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/api/main.go b/cmd/api/main.go
index 9d3e9bd..960d6a7 100644
--- a/cmd/api/main.go
+++ b/cmd/api/main.go
@@ -55,7 +55,7 @@ func main() {
ErrorLog: slog.NewLogLogger(logger.Handler(), slog.LevelError),
}
- logger.Info("startings server", "addr", srv.Addr, "env", cfg.env)
+ logger.Info("starting server", "addr", srv.Addr, "env", cfg.env)
err := srv.ListenAndServe()
logger.Error(err.Error())