fmt.Println

The fmt function that prints its arguments to standard output separated by spaces and followed by a new line.

In more detail

It is the quickest way to show values while learning. It formats each value in its default form, like the %v verb. It returns the number of bytes written and an error, which programs usually ignore for terminal output.

Example

fmt.Println("checking one host")

Related terms

Taught in

References