Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
if you are learning go on a whim, i'd recommend reading this as a precautionary measure: https://fasterthanli.me/articles/...
if you are learning golang because you have to or are into it pretty deep already, ignore that article, it won't be encouraging and instead check out some of this: https://golangdocs.com/
there's also these: https://pkg.go.dev/google.golang.or...
hope they help, peace -
@noobrants Thanks man, golangdocs looks really helpful, but I still not able to find what Statfs does :\
-
hjk10156964y@gitpush you are deep in the nitty gritty. It's not something you would normally use (hence lack of docs). It's a low level wrapper around the syscall.
https://man7.org/linux/man-pages/...
The buff parameter is a struct as described in the man page. -
Just read the code. Go has all the source included in the SDK.
Just dive into the part that you want to learn, and look for the test code.
Also - go can be used for small personal projects with no problem. Just be aware of the pitfalls.
Related Rants
Where can I find good golang documentation? This is not helping me :\
https://golang.org/pkg/syscall/...
question
docs
golang