mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 06:31:10 +01:00
* VAULT-15385 Add GHA that checks for nil, nil returns on functions that return an error * VAULT-15385 add failing function, for sanity * VAULT-15385 fix makefile * VAULT-15385 remove test dir * VAULT-15385 Fix typo * VAULT-15385 fix job name * VAULT-15385 Add test to packages * VAULT-15835 add opt-out * VAULT-15835 Wrong file for comment * VAULT-15835 remove failing function * VAULT-15835 return not nil-nil :) * VAULT-15835 Restrict to two-result functions
14 lines
266 B
Go
14 lines
266 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/hashicorp/vault/tools/gonilnilfunctions/pkg/analyzer"
|
|
"golang.org/x/tools/go/analysis/singlechecker"
|
|
)
|
|
|
|
func main() {
|
|
singlechecker.Main(analyzer.Analyzer)
|
|
}
|