diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-24 21:47:40 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-24 22:02:18 +0800 |
commit | dbfadc5a7e5bd3163b49878994063cd6d869fe6a (patch) | |
tree | 5200e50de2b41a1f7e4da805fea1234141174e04 /global.go | |
parent | csolver: Remove, it's not needed anymore (diff) | |
download | powxy-dbfadc5a7e5bd3163b49878994063cd6d869fe6a.tar.gz powxy-dbfadc5a7e5bd3163b49878994063cd6d869fe6a.tar.zst powxy-dbfadc5a7e5bd3163b49878994063cd6d869fe6a.zip |
Refactorv0.1.13
Diffstat (limited to 'global.go')
-rw-r--r-- | global.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3,11 +3,16 @@ package main +// global is a struct that holds global information that the HTML template may +// wish to access. var global = struct { + // Most of these fields should be filled in by flag parsing. NeedBits uint NeedBitsReverse uint SourceURL string Version string }{ + // The version should be replaced by the init function in version.go, + // if version.go is properly generated by the Makefile. Version: "(no version)", } |