Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
2h
on June 8, 2023
|
parent
|
context
|
favorite
| on:
Rust module system encourages bad practices
sibling comment is wrong. this is the typical flow on a new package:
1. go mod init something # create go.mod
2. go mod tidy # create go.sum
3. have fun
foldr
on June 8, 2023
[–]
That’s a new
module
in Go parlance. Making a new package just requires making a new directory.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1. go mod init something # create go.mod
2. go mod tidy # create go.sum
3. have fun