-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.go
34 lines (23 loc) · 881 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2009 The GoTamer. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
/*
Package version gets version information from git to go
verup will create a file (version.go) with up to date
version information from git.
By default verup will output to stdout to view or pipe.
Please check the flags.
cat version.go
package main
//VarModTime is a UTC Unix time stamp
const VerModTime = 1530896805
//VarLong is the full version from Git the command output
const VerLong = "0.2-14-g1051a2c-dirty"
//VarDirty means app was build with a git dir that contained modifications which had not been committed.
const VerDirty = true
//VarGit is the 7 hexadecimal digits version from Git.
const VerGit = "g1051a2c"
//VarTag is the Tag version from Git.
const VerTag = "0.2"
*/
package version