lint/.automation/test/go
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
..
reports Bump mstruebing/editorconfig-checker from 2.3.3 to 2.3.5 (#1413) 2021-04-30 14:27:52 -05:00
golang_bad_01.go Merge TestCodebase and LintCodebase 2020-10-17 16:12:55 +02:00
golang_good_01.go Merge TestCodebase and LintCodebase 2020-10-17 16:12:55 +02:00
golang_good_02.go Fix golangci-lint failure in slim image (#2746) 2022-04-11 11:42:01 -05:00
README.md Fix golangci-lint failure in slim image (#2746) 2022-04-11 11:42:01 -05:00

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.