Introduction to Go 1.10
The latest Go release, version 1.10, arrives six months after Go 1.9.
Most of its changes are in the implementation of the toolchain, runtime, and libraries.
As always, the release maintains the Go 1 promise of compatibility.
We expect almost all Go programs to continue to compile and run as before.
This release improves caching of built packages,
adds caching of successful test results,
runs vet automatically during tests,
and
permits passing string values directly between Go and C using cgo.
A new compiler option whitelist may cause
unexpected invalid
flag errors in code that built successfully with older
releases.
Changes to the language
There are no significant changes to the language specification.
A corner case involving shifts by untyped constants has been clarified,
and as a result the compilers have been updated to allow the index expression
x[1.0
The Server will no longer add an implicit Content-Type when a Handler does not write any output.
Redirect now sets the Content-Type header before writing its HTTP
Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/42JqVS1kuso/go1.10