1
0
mirror of https://github.com/golangci/golangci-lint-action.git synced 2026-03-17 06:34:53 +07:00
Files
golangci-lint-action/fixtures/plugins/sample.go
2025-11-28 17:21:09 +01:00

23 lines
401 B
Go

// Package sample is used as test input for golangci action.
package sample
// comment without a to do
func SomeFunc1() {
_ = 1 + 1
}
// TODO: do something // want "TODO comment has no author"
func SomeFunc2() {
_ = 1 + 2
}
// TODO(): do something // want "TODO comment has no author"
func SomeFunc3() {
_ = 1 + 3
}
// TODO(dbraley): Do something with the value
func SomeFunc4() {
_ = 1 + 4
}