mirror of
https://github.com/mgechev/revive.git
synced 2024-11-21 17:16:40 +02:00
21 lines
251 B
Go
21 lines
251 B
Go
package fixtures
|
|
|
|
import "fmt"
|
|
|
|
// Foo is a function.
|
|
func Foo(a, b int) {
|
|
// This
|
|
/* is
|
|
a
|
|
*/
|
|
// a comment.
|
|
fmt.Println("Hello, world!")
|
|
/*
|
|
This is
|
|
multiline
|
|
comment.
|
|
*/
|
|
}
|
|
|
|
// MATCH /file length is 8 lines, which exceeds the limit of 7/
|