BTW, I think the embedding functionality introduced in Go 1.16 should not 
be viewed as a feature.
It should be viewed as an API change instead.
Now Go projects using embedding and setting go directive verison as v1.15 
in go.mod fail to compile with Go toolchain 1.16.
IMO, this is unnecessary, for the "//go:embed" directive always requires 
importing the "embed" package.

On Tuesday, March 2, 2021 at 6:14:23 AM UTC-5 tapi...@gmail.com wrote:

> Would be better to use compile flags to control each language features 
> individually?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c8e1bd96-78e2-434a-a0cc-4356382e49fcn%40googlegroups.com.

Reply via email to