I'm working on this PR(https://github.com/gin-contrib/i18n/pull/7) and it uses embed package which was supported from go 1.16(https://tip.golang.org/doc/go1.16#library-embed). As the gin-contrib/i18n package support go version from go 1.13, I want to make it skip build and test for embed if go version < 1.16. What should I do? I tried using build tag like
//go:build go1.16 but this approach doesn't work as I expected. Thanks in advance.
1.17build tags had a different format, example:// +build go1.9.