mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
12 lines
215 B
Go
12 lines
215 B
Go
|
|
package fixtures
|
||
|
|
|
||
|
|
import (
|
||
|
|
"errors"
|
||
|
|
"fmt"
|
||
|
|
)
|
||
|
|
|
||
|
|
func issue1243() {
|
||
|
|
err := errors.New("An error occurred!") // MATCH /error strings should not be capitalized or end with punctuation or a newline/
|
||
|
|
fmt.Println(err)
|
||
|
|
}
|