Showing
1 changed file
with
11 additions
and
4 deletions
... | ... | @@ -24,10 +24,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. |
24 | 24 | */ |
25 | 25 | package logger |
26 | 26 | |
27 | -const ( | |
28 | - VERSION = "m4_version" | |
29 | - REVISION = "m4_revision" | |
30 | - BUILD_TIME = "m4_build_time" | |
27 | +import ( | |
28 | + "gitlab.weird-web-workers.org/golang/version" | |
29 | +) | |
30 | + | |
31 | +var ( | |
32 | + VERSION = version.Version{ | |
33 | + Package: "m4_package", | |
34 | + Version: "m4_version", | |
35 | + Revision: "m4_revision", | |
36 | + BuildTime: "m4_build_time", | |
37 | + } | |
31 | 38 | ) |
32 | 39 | |
33 | 40 | // vim: ts=4 sts=4 sw=4 noet tw=72: | ... | ... |
Please
register
or
login
to post a comment