Using Machine Learning to catch cyber and financial criminals by day and writing cool blogs by night.
Follow the Go Language Community to stay up to date with latest tutorials and find answers, support from other users. Its not same without you!
Write your answer...
I have the following code: If I don't have the code that reads from the buffer in a goroutine, it outputs a message like this, which is what I expect to happen: However, having it inside a gorouti
Aditya Agrawal
General
Asked • Feb 10 2020
I often have a situation, where I expect an int (of any type, int/int8/16/32/64) and check for it using a type switch Now I cannot use a direct cast, because t in this case will be of type interfa
Gopher
Asked • Jan 20 2020
How do I find the type of an object in Go? In Python, I just use typeof to fetch the type of object. Similarly in Go, is there a way to implement the same ? Here is the container from which I am i
Asked • Jan 19 2020
Community
Get Involved
Stay Connected
Company