You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
528 B
30 lines
528 B
10 years ago
|
// -------- DO NOT EDIT --------
|
||
|
// this is an autogenerated file
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
// Version autogenerated
|
||
|
var Version = "2015-06-17T03:17:23.789648634Z"
|
||
|
|
||
|
// Tag is of following format
|
||
|
//
|
||
|
// [[STRING]-[EPOCH]
|
||
|
//
|
||
|
// STRING is release string of your choice.
|
||
|
// EPOCH is unix seconds since Jan 1, 1970 UTC.
|
||
|
var Tag = "release-1434511043"
|
||
|
|
||
|
// getVersion -
|
||
|
func getVersion() string {
|
||
|
t, _ := time.Parse(time.RFC3339Nano, Version)
|
||
|
if t.IsZero() {
|
||
|
return ""
|
||
|
}
|
||
|
return t.Format(http.TimeFormat)
|
||
|
}
|