Glossary: Software Design Patterns in Go
Panic
Also written: panics, panic
A crash that stops the program, which Go keeps for programmer mistakes; other failures return an `error`. Writing to a nil map, or the locked card's `TopUp`, panics.
Glossary: Software Design Patterns in Go
Also written: panics, panic
A crash that stops the program, which Go keeps for programmer mistakes; other failures return an `error`. Writing to a nil map, or the locked card's `TopUp`, panics.