Refactoring minio server command and flags

This commit is contained in:
Harshavardhana
2015-08-20 13:05:47 -07:00
parent 8463040cd1
commit 74587886d2
11 changed files with 429 additions and 276 deletions
+2 -24
View File
@@ -1,29 +1,7 @@
// -------- DO NOT EDIT --------
// this is an autogenerated file
// This file is autogenerated by genversion.go during the release process.
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)
}
const Version = "2015-08-14T03:23:47.250240049Z"