Sign in
go
/
website
/
72d5825ac2d47199def0714c7e290cd11ba77e73
/
.
/
_content
/
talks
/
2013
/
go1.1
/
methodvals-old.go
blob: 7ff23d6bacc8e922625c0a7c235256ccb1ee9394 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import "os"
func main() {
var w func([]byte) (int, error)
w = func(b []byte) (int, error) { return os.Stdout.Write(b) }
w([]byte("hello!\n"))
}