superlint/.automation/test/go/README.md
Masaya Suzuki 2ecb464fad
Fix golangci-lint failure in slim image (#2746)
* Add golang test case

* Add go install

* Add go file

* Fix install command

* Move go.mod and go.sum

* slim image also pull in libs

* Use go 1.17

* Update README of GO test case
2022-04-11 11:42:01 -05:00

20 lines
645 B
Markdown

# Golang Test Cases
This folder holds the test cases for **Golang**.
## Additional Docs
No Additional information is needed for this test case.
## Good Test Cases
The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted.
- **Note:** They are linted utilizing the default linter rules.
- **Note:** `.automation/test/` contains `go.mod` and `go.sum` which need to test `golang_good_02.go`.
## Bad Test Cases
The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted.
- **Note:** They are linted utilizing the default linter rules.