From 12acb8041060306b361109b46f9f05dbb4382ea0 Mon Sep 17 00:00:00 2001 From: Markus Wüstenberg Date: Thu, 19 Sep 2024 21:45:31 +0200 Subject: Add full example app (#204) Also, remove the other examples and simplify the readme.--- internal/examples/app/cmd/app/main.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 internal/examples/app/cmd/app/main.go (limited to 'internal/examples/app/cmd') diff --git a/internal/examples/app/cmd/app/main.go b/internal/examples/app/cmd/app/main.go new file mode 100644 index 0000000..0c01576 --- /dev/null +++ b/internal/examples/app/cmd/app/main.go @@ -0,0 +1,13 @@ +package main + +import ( + "log/slog" + + "app/http" +) + +func main() { + if err := http.Start(); err != nil { + slog.Info("Error", 1, "error", err) + } +} -- cgit 1.4.1