Dependency Injection for Go with facebookgo-inject

Setting up a larger application using dependency injection always requires us developers to set up our application’s object graph. Programming in Go there is a library that eases this task for us, offering a reflect based injector to set up the graph in a few steps, named facebookgo-inject. In the following article I’d like to demonstrate dependency injection using this library for a small sample application. Figure 1. Go dependency injection with facebookgo...

November 9, 2016 · 2 min · 331 words · Micha Kops

Writing a Websocket Chat in Go

Learning the Go programming language, I wanted to implement an application that I had written with other languages and frameworks before to get a grip on this language. That’s why I tried to implement a really simple websocket chat server in Go and described my approach in the following article. Go Websocket Chat Implementation Writing the Chat Server Websocket Chat in Action ...

October 29, 2016 · 6 min · 1123 words · Micha Kops