mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-26 02:04:50 -06:00
50d4e31d6b
And enable the `tenv` linter for the future. Also, bump version of golangci-lint and fix some new warnings that came from that. Signed-off-by: Anders Eknert <anders@eknert.com>
20 lines
480 B
Go
20 lines
480 B
Go
// Copyright 2021 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.
|
|
|
|
//go:build go1.16
|
|
// +build go1.16
|
|
|
|
package capabilities
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
// FS contains the embedded capabilities/ directory of the built version,
|
|
// which has all the capabilities of previous versions:
|
|
// "v0.18.0.json" contains the capabilities JSON of version v0.18.0, etc
|
|
//
|
|
//go:embed *.json
|
|
var FS embed.FS
|