Search questions…
⌘
K
English
Tiếng Việt
日本語
한국어
Español
العربية
বাংলা
čeština
Dansk
Deutsch
Ελληνικά
Suomi
Français
Gaeilge
ગુજરાતી
Hausa
हिन्दी
Hrvatski
Magyar
Bahasa Indonesia
Italiano
Basa Jawa
ქართული
Lietuvių
मराठी
Melayu
Malti
नेपाली
Nederlands
Norsk
ਪੰਜਾਬੀ
Polski
Português
Română
Русский
Slovenščina
Shqip
Svenska
Kiswahili
தமிழ்
తెలుగు
ภาษาไทย
Türkçe
اردو
简体中文
flow
Home
Topics
Categories
Learning paths
Search
Golang Interview Questions · IT Interview Practice
Home
/
#Golang
#Golang
28 questions
What is Go and what is it designed for?
Golang
#language
Junior
›
How do you declare variables and what are Go's basic types?
Golang
#language
Junior
›
How do functions and multiple return values work in Go?
Golang
#language
Junior
›
What is the difference between arrays and slices?
Golang
#data-structures
Junior
›
How do maps work in Go?
Golang
#data-structures
Junior
›
What are structs in Go?
Golang
#language
Junior
›
How do pointers work in Go?
Golang
#language
Junior
›
How do packages and modules organize Go code?
Golang
#tooling
Junior
›
What control-flow constructs does Go have?
Golang
#language
Junior
›
How does Go handle errors as values?
Golang
#error-handling
Junior
›
What are goroutines?
Golang
#concurrency
Middle
›
How do channels work?
Golang
#concurrency
Middle
›
How do interfaces work in Go?
Golang
#language
Middle
›
What do defer, panic and recover do?
Golang
#error-handling
Middle
›
What is the difference between value and pointer receivers?
Golang
#language
Middle
›
How does struct embedding (composition) work?
Golang
#language
Middle
›
What is the select statement?
Golang
#concurrency
Middle
›
What is the context package used for?
Golang
#concurrency
Middle
›
How do generics work in Go?
Golang
#language
Middle
›
What are common Go concurrency patterns?
Golang
#concurrency
Senior
›
When do you use the sync package instead of channels?
Golang
#concurrency
Senior
›
How does Go manage memory and garbage collection?
Golang
#performance
Senior
›
What causes goroutine leaks and how do you prevent them?
Golang
#concurrency
Senior
›
How does the Go runtime scheduler work?
Golang
#concurrency
Senior
›
What are type assertions and type switches?
Golang
#language
Middle
›
How do closures work in Go?
Golang
#language
Middle
›
How do you encode/decode JSON in Go?
Golang
#language
Middle
›
What is a data race and how do you detect one?
Golang
#concurrency
Senior
›