The fmt Package
We start with fmt.Println from hello world and work our way inward.
Print functions write to standard output by default (os.Stdout). Since the package has a more general Fprintln, we can guess that Println is just Fprintln with os.Stdout as the writer. That’s exactly what it is.
func Println(a ...interface{}) (n int, err error) {
return Fprintln(os.Stdout, a...)
}