What synchronization primitives do you know?
Golang
How does a goroutine differ from a thread?
Imagine a situation: multiple active reads, a write request (RWMutex) arrives. In what order will the operations be executed?
[Name] talks about their biggest work failure and how they overcame it.
What are slices in Go and how are they structured?
Why are interfaces used in Go, and what are their advantages and disadvantages?
Tell about strings in Go: what features do they have, how to work with them? Why is strings.Builder better than bytes.Buffer for string concatenation?
package main import "fmt" func main() { a := []int{1,2} a = append(a, 3) b := append(a, 4) c := append(a, 5) fmt.Println(b) fmt.Println(c) }
Tell me about map in Go: how it is structured, what is the average and worst-case complexity of operations.
How to stop HTTP requests after the first error?