Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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: