language: Go (gc-2010-07-14)
date: 100 days 10 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
package main
 
import "fmt"
 
func main() {
  for i := 0; i < 1000; i++ {
    fmt.Fprint("\u%d\n", i)
  }
  fmt.Println("hello\u0101")
}
 
prog.go:7: non-hex character in escape sequence: %
prog.go:7: cannot use "\x00%d\n" (type string) as type io.Writer in function argument:
	string does not implement io.Writer (missing Write method)