go lint is giving errors while executing a new rule implementation #240
-
Hi all, I am executing a rule implementation file through command make test-short |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Its clearly stated in the files, and line numbers. // MyData is a struct about this and that
type MyData struct {
...
}
// GetMsg will do this and that
func (md *MyData) GetMsg() {
...
}
// TestMultipleTimesRuleExec is to test this and that ...
func TestMultipleTimesRuleExec(t *testing.T) {
...
} |
Beta Was this translation helpful? Give feedback.
Its clearly stated in the files, and line numbers.
You need to make comments explaining the type, method and functions. Such as