mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-25 00:32:16 -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
20 lines
645 B
Markdown
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.
|