HTTP Method Spoofing in Go

A.K.A. HTTP method overriding. As a web developer you probably already know that HTML forms only support the GET and POST HTTP methods. If you want to send a PUT, PATCH or DELETE request you need to resort to either sending a XMLHttpRequest from JavaScript (where they are suppo...

How I write Go HTTP services after seven years

All

New Go Branding Strategy

I joined the GoTime podcast and told them EVERYTHING about Go’s new branding strategy (and don’t worry, the gopher isn’t going anywhere!) Listen to the podcast at https://changelog.com/gotime/79 Transcript Adam Stacoviak: And we’re live, too… Do you want a litt...

Bounds Check Elimination In Go

Introduction One day I was talking to Damian Gryski in Slack about some performance improvements he made to his go-metro package. When I first looked at the changes I was completely confused how this could have any effect on the performance of the code. I felt the code was more r...

Replacing Docker Cloud

Introduction Last year I wrote a post about automating deployment of your application, all the way from git push to redeploying your application in your environment. It relied on the free version of Docker Cloud, which allowed the use of a single node for free. Of course, the ide...

Forget A/B testing: Order elements using personalized machine learning recommendations in…

Forget A/B testing: Order elements using personalized machine learning recommendations in…

I'm Joining TOTVS Labs

Everything in life eventually comes to an end, including life itself. This is not that kind of post, though.

How to build a Serverless API with Go and AWS Lambda

Earlier this year AWS announced that their Lambda service would now be providing first-class support for the Go language, which is a great step forward for any gophers (like myself) who fancy experimenting with serverless technology. So in this post I'm going to talk through how...