|Go 1.10 Adds Automatic Caching
|Written by Kay Ewbank
|Monday, 19 February 2018
There's a new release of Go with automatic caching of build and test results. Version 1.10 is the first major release after the announcement of Go 2.0.
Go is an open source project developed by a team at Google and many contributors from the open source community over more than 8 years. The main intended use is as a systems programming language, and it has been used in high profile commercial successes such as Docker.
While there are some minor changes to the language, most of its changes are in the implementation of the toolchain, runtime, and libraries.The changes to the tooling are designed to improve testing in large and very large projects and to prepare for Go 2.0. The improvements offer better 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.
Go build can now detect changes in files on a source code level rather than rely on timestamps, which means that it will be more accurate in rebuilding the packages that have changed.
The changes to go test mean that it will now cache the results of the tests if they meet certain criteria such as:
To celebrate the release, Go User Groups around the world are holding release parties.
or email your comment to: email@example.com
|Last Updated ( Monday, 19 February 2018 )