Files
mc/version.go
T

31 lines
573 B
Go

// -------- DO NOT EDIT --------
// this is an autogenerated file
package main
import (
"net/http"
"time"
)
// Version autogenerated
var Version = "2015-06-17T01:27:27.033965323Z"
// Tag is of following format
//
// [[STRING]-[EPOCH]-[GITREV]]
//
// STRING is release string of your choice.
// EPOCH is unix seconds since Jan 1, 1970 UTC.
// GITREV is git commit id
var Tag = "release-1434504447-bb790ed"
// getVersion -
func getVersion() string {
t, _ := time.Parse(time.RFC3339Nano, Version)
if t.IsZero() {
return ""
}
return t.Format(http.TimeFormat)
}