mirror of
https://github.com/golang/go
synced 2024-11-06 01:46:12 -07:00
15 lines
137 B
Plaintext
15 lines
137 B
Plaintext
|
// +build ignore
|
||
|
|
||
|
package I1
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
func example() {
|
||
|
|
||
|
n := fmt.Sprintf("error - %s", "foo")
|
||
|
_ = errors.New(n)
|
||
|
}
|