3 ms·
> The most frustrating thing for me, by far, is that Go won't let you import unused packages. If you want to explicitly import unused packages, you just prefix
by _ak 10y ago
> The most frustrating thing for me, by far, is that Go won't let you import unused packages.
If you want to explicitly import unused packages, you just prefix it with `_`, like this: https://play.golang.org/p/ltfQgco22t https://play.golang.org/p/ltfQgco22t
Remove the `_` in the import of `crypto/rand`, and the program won't compile anymore.