當前倉庫屬於暫停狀態,部分功能使用受限,詳情請查閱 倉庫狀態說明
1 Star 0 Fork 0

小小 / 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/haozibi/go-bindata.git
git@gitee.com:haozibi/go-bindata.git
haozibi
go-bindata
go-bindata
v3.0.7

搜索幫助

53164aa7 5694891 3bd8fe86 5694891