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