News for hackers. Stuff that matters.
Re:Hurl, the Exceptional Language by thiht on Monday May 27, 2024 @02:21AM (#40488141)
The only example I have in mind is modules, which can have a different name from their root package.

For example you can have github.com/user/go-module as module name, and "module" as package name, so "import github.com/user/go-module" will be imported as "module.*".

There’s a linter that automatically aliases this kind of imports with their actual module name so that it’s non ambiguous when reading the import list.

There are no comments on this comment yet.