: The println("...") method prints the string "..." abd moves the cursor to a new line. The print("...") method instead prints just the string "...", but does not move the curosr to a new line.
: F means file
- func Fprint(w io.Writer, a ...interface{}) (n int, err error)
- func Fprintln(w io.Writer, a ...interface{}) (n int, err error)
- func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error)
: S means String
- func Sprint(w io.Writer, a ...interface{}) (n int, err error)
- func Sprintln(w io.Writer, a ...interface{}) (n int, err error)
- func Sprintf(w io.Writer, format string, a ...interface{}) (n int, err error)
: In this Sprint function, it doesn't print out on the screen or files. Howeverm it print out on the memory.