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