Category: golang

Untyped Constants in Golang

Golang is extremely explicit with types. It supports constants of a type. But how about a const 2 or hello. What type would they assume!? Go solved this problem with untyped constants. Untyped means: A constant’s type depends on the type of assignee variable. The assignee’s type must […]

5 Essentials for Go Development

The project structure [https://github.com/golang-standards/project-layout] Coding standard [gofmt and golint] Coding IDE [vim + vim-go]. My favorite! Go Packages Fundamentals [https://medium.com/rungo/everything-you-need-to-know-about-packages-in-go-b8bac62b74cc]

Go Runtime Scheduler Design Internals

Concurrency is one of the most exciting features of Go language. A single threaded program runs serially, but if you have tasks that can run concurrently, you create threads for such tasks. Threads execute independently and progress concurrently. Go supports creation of thousands of threads in an application!! […]