diff options
author | Matthew Lemon <y@yulqen.org> | 2024-03-11 19:39:00 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-03-11 19:39:00 +0000 |
commit | bac244e9d1cc2f3af4a63c662f38be60a1bcf7fd (patch) | |
tree | 8be7381f92d9bb3eb9e3a4434ea71ba8000d45e2 /cmd/api/main.go | |
parent | 02bf649c8981af4b46a18d9643386f7227f156a1 (diff) |
Adds a writeJSON helper
Diffstat (limited to '')
-rw-r--r-- | cmd/api/main.go | 2 |
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()) |