reflector.go/meta/meta.go
2018-08-30 14:41:50 -04:00

20 lines
243 B
Go

package meta
import (
"strconv"
"time"
)
var Version = ""
var Time = ""
var BuildTime time.Time
func init() {
if Time != "" {
t, err := strconv.Atoi(Time)
if err != nil {
return
}
BuildTime = time.Unix(int64(t), 0).UTC()
}
}