diff options
author | EuAndreh <eu@euandre.org> | 2024-10-20 03:41:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-20 04:33:15 -0300 |
commit | 875420fcff2df52badb25d3f84cb7d9e4baffacf (patch) | |
tree | af4ea1756e60379d3f6a0028533a6d223556fc25 /src/wscat.go | |
parent | Makefile: "var version" -> "const Version" (diff) | |
download | wscat-875420fcff2df52badb25d3f84cb7d9e4baffacf.tar.gz wscat-875420fcff2df52badb25d3f84cb7d9e4baffacf.tar.xz |
Adapt to latest golang Makefile skeleton
Diffstat (limited to 'src/wscat.go')
-rw-r--r-- | src/wscat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wscat.go b/src/wscat.go index 2fff3f5..744ccc3 100644 --- a/src/wscat.go +++ b/src/wscat.go @@ -2553,7 +2553,7 @@ func Start(toAddr string, listener net.Listener) { func Main() { - g.Init(slog.Group("versions", "gobang", g.Version, "this", version)) + g.Init(slog.Group("versions", "gobang", g.Version, "this", Version)) args := parseArgs(os.Args) listener := listen(args.fromAddr) Start(args.toAddr, listener) |