---
# System prepended metadata

title: Go Print
tags: [golang]

---

# Go Print
###### tags: `golang`

# Example of print
```go=
age := 26.45
name := "Claudia"

fmt.Printf("My name is %s and age is %.1f. Ps remember my name %[1]s\n", name, age)

//Print result
//My name is Claudia and age is 26.4. Ps remember my name Claudia
```
# fmt Printing
%s > String
%d > Decimal
%f > Float
%.nf > Float with n decimals. Ex: %.1f
%t > Bool
%T > type
%v > verb (any type)
%q > will be double quoted when printed 
