Finally got golang server running for a hour. Usually randomly crashes at every 2-3 minutes due to map safety on concurrent read / write.
Golang channels.
They're useful when it comes to receiving messages from every single goroutines safely.
They're useful when it comes to receiving messages from every single goroutines safely.
Golang context.
It's an controller.
Allows you to cancel an pending connection, even with timeout. The connection could be http, or websocket connection.
It's an controller.
Allows you to cancel an pending connection, even with timeout. The connection could be http, or websocket connection.
Happy to say that i learned and managed to write stuff in go lang in just 10 days.
I started learning golang at June 14th 2024. The go tour makes it easy and quicker to learn
My phone after formatted because their emulated storage (/storage/emulated/0) fucked up