Printing

This lesson explains how to print variables and constants.

We'll cover the following

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

Get hands-on with 1200+ tech skills courses.