From 911c932ec426ee45c9380bd26714c4bb505a3a88 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 23 Mar 2025 12:47:10 +0800 Subject: Use a global struct with version and source info --- global.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 global.go (limited to 'global.go') diff --git a/global.go b/global.go new file mode 100644 index 0000000..0e2bf81 --- /dev/null +++ b/global.go @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu + +package main + +var global = struct { + NeedBits uint + SourceURL string + Version string +}{} -- cgit v1.2.3