stein.wtf

I'm Stein Fletcher, a London based Software Engineer. This is my blog.

Cover Image for Generating sequence diagrams from tests in Go

Generating sequence diagrams from tests in Go

In this post, we will explore a method to generate sequence diagrams from tests that describe the application interactions. We will do this in a non-invasive way – we will not change any production code.

Stein Fletcher
Stein Fletcher
Cover Image for Compile-time dependency injection in Go using higher order functions

Compile-time dependency injection in Go using higher order functions

In this post we explore an approach to dependency injection in go (without any magic or frameworks)

Stein Fletcher
Stein Fletcher

Code generation in Go using abstract syntax trees (AST)

In this post we look at generating a powerful enumerated type using go generate and abstract syntax tree traversal

Stein Fletcher
Stein Fletcher