mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-10 02:53:36 -05:00
2ecb464fad
* 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 |
||
---|---|---|
.. | ||
reports | ||
golang_bad_01.go | ||
golang_good_01.go | ||
golang_good_02.go | ||
README.md |
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/
containsgo.mod
andgo.sum
which need to testgolang_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.