This is (a) more efficient and (b) avoids the need for constant error handling, since buffer writes can't fail. Also: - added WriteFunction and WritePackage functions, similar to types.WriteFoo. - *Function and *Package now implement io.WriterTo. LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/57930044 |
||
|---|---|---|
| .. | ||
| testdata | ||
| external.go | ||
| external_plan9.go | ||
| external_unix.go | ||
| external_windows.go | ||
| interp.go | ||
| interp_test.go | ||
| map.go | ||
| ops.go | ||
| reflect.go | ||
| value.go | ||