My blog has now moved to

GWT-Style tests

GWT-style tests relying on Go subtests (t.Run) and using searis/subtest as a matcher.

package ximport (
// Errors raised by package x.
var (
ErrPermissionDenied = fmt.Errof("permission denied")
ErrInvalidParameters = fmt.Errof("invalid parameters")

If “Goish” describes something that’s characteristic for the Go language, log.Fatal is off the wall.

What is “Goish”?

func letMeBeFormatted() {}

// That was better
func letMeBeHighlighted() {
var noTabs?
  • Item 1
  • Item 2
  • Item 3
  1. Firs do this
  2. Than do that
  3. Finally happy!


Sindre Myren

Backend developer at Searis AS, and occasional tech blogger.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store