Go Developer Assessment Template
A ready-to-run Go hiring test covering goroutines, channels, interfaces, generics, and idiomatic service patterns.
What this template measures
Every skill needed for a go developer hire, covered across MCQ, coding, and essay questions.
Goroutines & Channels
Concurrency patterns, select, timeouts, pipelines.
Error Handling
errors.Is/As, wrapping, sentinel vs typed errors.
Interfaces & Generics
Interface design, generics, method sets.
HTTP Services
net/http, context propagation, middleware patterns.
Standard Library Fluency
io, time, sync, encoding, testing.
Testing
Table-driven tests, fuzzing, benchmarks, race detector.
Sample questions from this template
A preview of the questions you'll see when you use this template.
Which idiomatic Go pattern handles cancellation for a long-running operation?
- A.Return on the first error from defer
- B.Pass context.Context; listen on ctx.Done() in select
- C.Use a time.Timer channel
- D.Spawn a watchdog goroutine
Implement `func FetchAll(ctx context.Context, urls []string, concurrency int) ([]Result, error)` that: - Fetches URLs concurrently with bounded parallelism - Respects ctx cancellation - Returns results in original order - Returns on first error
Build a rate limiter: `type RateLimiter interface { Allow() bool }` Implement a token-bucket rate limiter: N tokens per second, burst up to N. Must be concurrency-safe. Include a table-driven test demonstrating behavior under concurrent access.
When would you use a buffered channel instead of an unbuffered one? Give a concrete example of each.
Scoring rubric
How candidates are evaluated on this template.
Frequently asked questions
Does the runtime include -race?+
Yes. Candidates can run `go test -race` and `go run -race` to catch real race conditions during the assessment.
Can I customize this template?+
Yes. Every question, time limit, weighting, and rubric dimension is fully editable. Use the template as a starting point and tailor it to your role and seniority level.
Does this template include AI cheat detection?+
Yes. All ClarityHire assessment templates ship with code coherence AI, keystroke biometrics, and paste detection enabled by default. You can dial integrity level per role.
Can candidates see sample questions before starting?+
Yes. Each template supports unscored practice questions so candidates warm up before the real assessment begins. That way you measure skill, not test anxiety.
Related assessment templates
Other role-specific templates you might want to customize.
Launch Your Go Assessment Today
Customize this template and invite candidates in minutes.