I am new at GO and just installed the latest version available for Linux AMD64, but although I can run go commands, I don't seem to be able to get, build or install any commands.
go get bufio
package bufio: unrecognized import path "bufio"
Any ideas?
Package "bufio" is part of the standard library. You cannot "go get" it. But no worry, any standard and supported installation procedure makes this package installed (as is the whole stdlib), so there's no need to "go get" it.
Just include
import "bufio"
in a package where you want to use its exported decalarations and it should "just work" ;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With