mirror of
https://github.com/minio/minio
synced 2024-09-06 00:37:25 +00:00
![Harshavardhana](/assets/img/avatar_default.png)
This is a consolidation effort, avoiding usage of naked strings in codebase. Whenever possible use constants which can be repurposed elsewhere. This also fixes `goconst ./...` reported issues.
37 lines
1.1 KiB
Go
37 lines
1.1 KiB
Go
/*
|
||
* Minio Cloud Storage, (C) 2015, 2016 Minio, Inc.
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
* See the License for the specific language governing permissions and
|
||
* limitations under the License.
|
||
*/
|
||
|
||
package cmd
|
||
|
||
// DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
|
||
// set through ‘buildscripts/gen-ldflags.go’.
|
||
var (
|
||
// GOPATH - GOPATH value at the time of build.
|
||
GOPATH = ""
|
||
|
||
// Go get development tag.
|
||
goGetTag = "DEVELOPMENT.GOGET"
|
||
|
||
// Version - version time.RFC3339.
|
||
Version = goGetTag
|
||
// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
|
||
ReleaseTag = goGetTag
|
||
// CommitID - latest commit id.
|
||
CommitID = goGetTag
|
||
// ShortCommitID - first 12 characters from CommitID.
|
||
ShortCommitID = CommitID[:12]
|
||
)
|