ding the error message difficult to understand wasn’t
enough to report it as a bug, so I posted here in case someone else had
experienced the same confusion.
Thanks,
2024年10月23日水曜日 2:01:56 UTC+9 Ian Lance Taylor:
> On Tue, Oct 22, 2024 at 8:39 AM rojiu wrote:
> >
> > I ran int
I ran into this error when trying to create a module with a single Go file
and import it from GitHub:
```
predeclared any requires go1.18 or later (-lang was set to go1.16; check
go.mod)
```
After some digging, I learned that since Go 1.18, external modules need a
go.mod file. Without one, t