1 Star 0 Fork 0

iqingfeng / go-bindata

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
version.go 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jim Teeuwen 提交于 2013-10-30 02:11 . Implements output of debug code.
// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// license. Its contents can be found at:
// http://creativecommons.org/publicdomain/zero/1.0/
package main
import (
"fmt"
"runtime"
)
const (
AppName = "go-bindata"
AppVersionMajor = 3
AppVersionMinor = 1
)
// revision part of the program version.
// This will be set automatically at build time like so:
//
// go build -ldflags "-X main.AppVersionRev `date -u +%s`"
var AppVersionRev string
func Version() string {
if len(AppVersionRev) == 0 {
AppVersionRev = "0"
}
return fmt.Sprintf("%s %d.%d.%s (Go runtime %s).\nCopyright (c) 2010-2013, Jim Teeuwen.",
AppName, AppVersionMajor, AppVersionMinor, AppVersionRev, runtime.Version())
}
Go
1
https://gitee.com/iqingfeng/go-bindata.git
git@gitee.com:iqingfeng/go-bindata.git
iqingfeng
go-bindata
go-bindata
v1.0.0

搜索帮助

53164aa7 5694891 3bd8fe86 5694891