Learn
There are many resources available to help us learn Go.
Go Doc
Go includes a program go doc
for extracting and viewing documentation from .go
files.
For information about a package, use the command go doc
followed by the package name.
go doc fmt
For information about a package function, use the command go doc
followed by the package name, a period then the function name.
go doc fmt.Println
Google’s Go Website
Other Websites
Google Search
When searching for information about Go, you may want to consider searching Golang instead of Go, as it is more specific.
Instructions
1.
Use the go doc
command to see the entirety of Go’s fmt
documentation.
2.
Now check the documentation for fmt
‘s Println
function.
3.
Pull up the documentation for the time
package’s Now
function.
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.