summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-15 07:36:01 -0300
committerEuAndreh <eu@euandre.org>2024-08-15 07:36:05 -0300
commitebe6b2ae31145fd3534a0fb583410ce2cd8e8d69 (patch)
tree87f8f9db7147bde3878665e192f3e0090707c111 /src
parentMakefile: Simplify a bit compile rule (diff)
downloadglaze-ebe6b2ae31145fd3534a0fb583410ce2cd8e8d69.tar.gz
glaze-ebe6b2ae31145fd3534a0fb583410ce2cd8e8d69.tar.xz
Add src/version.go
Diffstat (limited to 'src')
-rw-r--r--src/glaze.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glaze.go b/src/glaze.go
index d0bc3e0..f5b2886 100644
--- a/src/glaze.go
+++ b/src/glaze.go
@@ -7,6 +7,7 @@ import (
"fmt"
"io"
"io/fs"
+ "log/slog"
"net"
"net/http"
"net/url"
@@ -270,7 +271,7 @@ func start(listener net.Listener) {
func Main() {
- g.Init()
+ g.Init(slog.Group("versions", "gobang", g.Version, "this", version))
addr := parseArgs(os.Args)
listener := listen(addr)
start(listener)