Glossary: Algorithms Beyond the Basics in Go
Comma-ok
Also written: comma ok, comma-ok form
A Go form like `value, ok := m[key]` where `ok` says whether the key was in the map. It tells a stored 0 from a missing key.
Glossary: Algorithms Beyond the Basics in Go
Also written: comma ok, comma-ok form
A Go form like `value, ok := m[key]` where `ok` says whether the key was in the map. It tells a stored 0 from a missing key.