mirror of
https://github.com/mgechev/revive.git
synced 2024-11-28 08:49:11 +02:00
10 lines
157 B
Go
10 lines
157 B
Go
|
package fixtures
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
func ReturnError() error {
|
||
|
return errors.New("This is an error.") // MATCH /must not start with a capital letter/
|
||
|
}
|