switch to go vendoring
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
// Copyright 2016 The OPA Authors. All rights reserved.
|
||||
// Use of this source code is governed by an Apache2
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package version contains version information that is set at build time.
|
||||
package version
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// Version is the canonical version of OPA.
|
||||
var Version = "0.51.0"
|
||||
|
||||
// GoVersion is the version of Go this was built with
|
||||
var GoVersion = runtime.Version()
|
||||
|
||||
// Platform is the runtime OS and architecture of this OPA binary
|
||||
var Platform = runtime.GOOS + "/" + runtime.GOARCH
|
||||
|
||||
// Additional version information that is displayed by the "version" command and used to
|
||||
// identify the version of running instances of OPA.
|
||||
var (
|
||||
Vcs = ""
|
||||
Timestamp = ""
|
||||
Hostname = ""
|
||||
)
|
||||
Reference in New Issue
Block a user