1package I1 2 3import ( 4 "errors" 5 "fmt" 6) 7 8func example() { 9 10 n := fmt.Sprintf("error - %s", "foo") 11 _ = errors.New(n) 12}
View as plain text