On Sat, 19 Dec 2020, 5:45 am Ian Lance Taylor, <i...@golang.org> wrote:

> On Fri, Dec 18, 2020 at 4:50 AM Amit Saha <amitsaha...@gmail.com> wrote:
> >
> > On Fri, 18 Dec 2020, 11:44 pm Volker Dobler, <dr.volker.dob...@gmail.com>
> wrote:
> >>
> >> Use
> >>
> >>     import _ "embed"  // note the _
> >>
> >> Your code does not  use package embed. A comment does
> >> not qualify as usage. As yous must import it for //go:embed
> >> comments to work you have to use a "side-effects-only"-import.
> >
> >
> > Ah yes. This should be mentioned in the package documentation. Probably
> it is not.
>
> This is fairly likely to change before the final release.  See
> https://golang.org/issue/43217.
>

Thank you


> Ian
>

-- 
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/CANODV3mPOW0u2pDmKBG8DSL0ZmZRU6rm9Vk6rUFeJpmGhWOdqA%40mail.gmail.com.

Reply via email to