Sign in
go
/
talks
/
dad08ac96ed4f0798e80f986c932f414b3b96b1b
/
.
/
2013
/
go1.1
/
methodvals-old.go
blob: 70e61172b735ccd3449828650fab0b0535fc954e [
file
] [
log
] [
blame
]
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"))
}