Yes. I agree that it's correct given the general rules.
On Wednesday, 8 November 2023 at 15:42:25 UTC Jan Mercl wrote:

> On Wed, Nov 8, 2023 at 4:01 PM Stephen Illingworth
> <stephen.i...@gmail.com> wrote:
>
> > I would have expected the "main.A" string to require the same form. But 
> either way, that's the correct solution.
>
> It is the correct form. Package main cannot be imported and has a
> special import path. Though I don't know where it is documented.
>

-- 
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/70151c0b-b270-40c7-8ed7-b54f6029a8dcn%40googlegroups.com.

Reply via email to