Skip to content

Glossary: Go Basics

Verb

Also written: verbs, %d, %s, %v, %q, %T, %w

A `%` code in a `Printf` text, such as `%d` for a whole number or `%.2f` for two decimals. Values after the text fill the verbs in order, and `%w` in `fmt.Errorf` wraps an error.

Where the book teaches it

Related terms

Println and Printf