Re:Go mod’s lesser known features
by Cthulhu_ on Friday April 01, 2022 @04:32AM
(#30876269)
I dunno, I feel like 'module' communicates something that is only code, while 'package' - but this is my JS experience speaking - implies it may also contain non-code files like docs, tests, examples, configuration files, html, etc that aren't directly used by the application importing them.
[ Parent
| on HN ]
Re:Go mod’s lesser known features
by littleroot on Friday April 01, 2022 @05:24AM
(#30876477)
Modules = Lego bricks used to build bigger Lego artifacts
Package = Lego bricks (probably share a theme and are meant to build something concrete together), shipped with instructions and media and whatnot, in a, well, whole package.