1
0

Convert to Go 1.17 go:build directive (#13579)

This commit is contained in:
Scott Miller 2022-01-05 12:02:03 -06:00 committed by GitHub
parent 7353573d9a
commit 377f7459af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
64 changed files with 63 additions and 64 deletions

View File

@ -1,4 +1,4 @@
// +build go1.11 go1.12 go1.13 go1.14 go1.15
//go:build go1.11 || go1.12 || go1.13 || go1.14 || go1.15
package pkcs7

View File

@ -1,4 +1,4 @@
// +build windows
//go:build windows
package winsvc

View File

@ -1,4 +1,4 @@
// +build !windows
//go:build !windows
package command

View File

@ -1,4 +1,4 @@
// +build windows
//go:build windows
package command

View File

@ -1,4 +1,4 @@
// +build !fips_140_3
//go:build !fips_140_3
package config

View File

@ -1,4 +1,4 @@
// +build !race
//go:build !race
package command

View File

@ -1,5 +1,4 @@
//go:build !race
// +build !race
package command

View File

@ -1,4 +1,4 @@
// +build !race
//go:build !race
package command

View File

@ -1,4 +1,4 @@
// +build !race
//go:build !race
package command

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package server

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package server

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package server

View File

@ -1,4 +1,4 @@
// +build !memprofiler
//go:build !memprofiler
package command

View File

@ -1,4 +1,4 @@
// +build memprofiler
//go:build memprofiler
package command

View File

@ -1,4 +1,4 @@
// +build !race,!hsm,!fips_140_3
//go:build !race && !hsm && !fips_140_3
// NOTE: we can't use this with HSM. We can't set testing mode on and it's not
// safe to use env vars since that provides an attack vector in the real world.

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package constants

View File

@ -1,4 +1,4 @@
// +build !fips_140_3
//go:build !fips_140_3
package constants

View File

@ -1,4 +1,4 @@
// +build !openbsd
//go:build !openbsd
package hostutil

View File

@ -1,4 +1,4 @@
// +build openbsd
//go:build openbsd
package hostutil

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package testhelpers

View File

@ -1,4 +1,4 @@
// +build ui
//go:build ui
package http

View File

@ -1,4 +1,4 @@
// +build !ui
//go:build !ui
package http

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package configutil

View File

@ -1,4 +1,4 @@
// +build foundationdb
//go:build foundationdb
package foundationdb

View File

@ -1,4 +1,4 @@
// +build foundationdb
//go:build foundationdb
package foundationdb

View File

@ -1,4 +1,4 @@
// +build !foundationdb
//go:build !foundationdb
package foundationdb

View File

@ -1,4 +1,4 @@
// +build 386 arm
//go:build 386 || arm
package raft

View File

@ -1,4 +1,4 @@
// +build !386,!arm
//go:build !386 && !arm
package raft

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package raft

View File

@ -1,4 +1,4 @@
// +build 386 arm
//go:build 386 || arm
package raft

View File

@ -1,4 +1,4 @@
// +build !386,!arm
//go:build !386 && !arm
package raft

View File

@ -1,4 +1,4 @@
// +build cgo
//go:build cgo
package version

View File

@ -1,4 +1,4 @@
// +build tools
//go:build tools
// This file ensures tool dependencies are kept in sync. This is the
// recommended way of doing this according to

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build deadlock
//go:build deadlock
package vault

View File

@ -1,4 +1,4 @@
// +build !windows
//go:build !windows
package diagnose

View File

@ -1,4 +1,4 @@
// +build windows
//go:build windows
package diagnose

View File

@ -1,4 +1,4 @@
// +build !openbsd !arm
//go:build !openbsd || !arm
package diagnose

View File

@ -1,4 +1,4 @@
// +build openbsd,arm
//go:build openbsd && arm
package diagnose

View File

@ -1,4 +1,4 @@
// +build !windows
//go:build !windows
package diagnose

View File

@ -1,4 +1,4 @@
// +build windows
//go:build windows
package diagnose

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !deadlock
//go:build !deadlock
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package quotas

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package replication

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault

View File

@ -1,4 +1,4 @@
// +build !enterprise
//go:build !enterprise
package vault