Sobes.tech

Imagine a situation: multiple active reads, a write request (RWMutex) arrives. In what order will the operations be executed?

198

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?

159

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) }

154