mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
Refactoring minio server command and flags
This commit is contained in:
+2
-24
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user