mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +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/
|