Migrating minio server build to do 'go run make.go' style like mc

This commit is contained in:
Harshavardhana
2015-06-16 20:20:59 -07:00
parent 4998907835
commit 8bde4d4e34
8 changed files with 234 additions and 123 deletions
+29
View File
@@ -0,0 +1,29 @@
// -------- 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)
}