...

/

Printing

Printing

This lesson explains how to print variables and constants.

Printing Constants and Variables

While you can print the value of a variable or constant using the built-in print and println functions, the more idiomatic and flexible way is to use the fmt package

Access this course and 1400+ top-rated courses and projects.