diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-06-24 07:05:36 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-06-24 07:05:36 -0400 |
| commit | 0381ae5a1970d69712d698c48da50f95294deb37 (patch) | |
| tree | e12cf1967ffb0f6ab32ddcf56f5c1e96ce2b6a1c /linters/cmd/documentfunctions/documentfunctions.go | |
| parent | d2707e0d8dbf6ef5e8bce57e7a9f42899c829475 (diff) | |
| download | x-0381ae5a1970d69712d698c48da50f95294deb37.tar.xz x-0381ae5a1970d69712d698c48da50f95294deb37.zip | |
linters: introduce a few linters for catching pathological behavior
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'linters/cmd/documentfunctions/documentfunctions.go')
| -rw-r--r-- | linters/cmd/documentfunctions/documentfunctions.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linters/cmd/documentfunctions/documentfunctions.go b/linters/cmd/documentfunctions/documentfunctions.go new file mode 100644 index 0000000..684db20 --- /dev/null +++ b/linters/cmd/documentfunctions/documentfunctions.go @@ -0,0 +1,10 @@ +package main + +import ( + "golang.org/x/tools/go/analysis/singlechecker" + "within.website/x/linters/documentfunctions" +) + +func main() { + singlechecker.Main(documentfunctions.Analyzer) +} |
