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