blob: b082533ad7a6e6eded13bb211d0041cf9fa8f6a4 [file] [log] [blame]
Tim Windelschmidt67f45f82025-07-29 21:45:00 +02001// Copyright The Monogon Project Authors.
2// SPDX-License-Identifier: Apache-2.0
3
4package staticcheck
5
6import (
7 "fmt"
8
9 "source.monogon.dev/build/analysis/staticcheck"
10)
11
12var (
13 name string
14 Analyzer = staticcheck.Analyzers[name]
15)
16
17func init() {
18 if Analyzer == nil {
19 panic(fmt.Sprintf("staticcheck analyzer %q not found", name))
20 }
21}