
Go Testing Interview Questions: Mocks and Benchmarks (Part 13)
These Go testing interview questions cover go test, table-driven tests, subtests, mocks, httptest, benchmarks, fuzzing, coverage and the race detector. We gathered them from…
Tag

These Go testing interview questions cover go test, table-driven tests, subtests, mocks, httptest, benchmarks, fuzzing, coverage and the race detector. We gathered them from…

These Go standard library questions cover fmt, strings, strconv, os, io, bufio, encoding/json, time, slog and flag. We gathered them from public interview lists,…

These Go generics interview questions cover type parameters, constraints, comparable, type sets, type inference, generic types and design limits. We gathered them from public…

These Go modules interview questions cover packages, imports, visibility, go.mod, go.sum, semantic versions, project layout and the go tool. We gathered them from public…

These Go error handling questions cover the error type, custom errors, wrapping with %w, errors.Is, errors.As, sentinel errors, panic and recover. We gathered them…

These Go interfaces interview questions cover implicit interfaces, the empty interface, type assertions, type switches, the typed nil trap and interface design. We gathered…

These Go structs interview questions cover structs, pointers, methods, receivers, embedding and struct tags. We collected them from public interview lists, coding rounds and…

The Go Reader and Writer interfaces are two tiny interfaces that move data between files, networks, strings and more. In this post, you will…

Go methods are functions that belong to a type, and they are how you add behaviour to your structs. In this post, you will…

Go functional options are a clean way to build objects that have many settings. In this post, you will learn why long constructors become…