golang fomartting variables code example
Example 1: go format string
s := fmt.Sprintf("string: %s number: %d time: %v", "string", 1, time.Now())
Example 2: %+v in golang
%v the value in a default format
when printing structs, the plus flag (%+v) adds field names
%#v a Go-syntax representation of the value
%T a Go-syntax representation of the type of the value
%% a literal percent sign; consumes no value