directory
0.0.0-20241002144141-cecfd25e3dba
Repository: https://github.com/dtherhtun/learning-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
nil is not a type but a reserved word.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The question is - what happens when you receive from a closed channel? The answer is that if there are values in the buffer - you will get them, otherwise, you will get the zero value for the channel type.
When you convert from byte slice to string, Go will copy the byte slice - which does a memory allocation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author