Sign in
go
/
website
/
267f6b2af39434a3c69173c635ae7252815845c7
/
.
/
_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"))
}