Go.work was added in Go 1.18 and makes it easier to work in repos that have multiple go.mod files. This repo has always maintained compatibility only with the most recent version of Go, so moving compat to Go 1.18 is fine as it is the latest version.
What
Move compatibility to Go 1.18 and use go.work.
Why
Go.work was added in Go 1.18 and makes it easier to work in repos that have multiple go.mod files. This repo has always maintained compatibility only with the most recent version of Go, so moving compat to Go 1.18 is fine as it is the latest version.