Going Serverless with OpenFaaS and Golang — Building Optimized Templates

Martin Heinz
Towards Data Science
8 min readNov 29, 2019

--

Note: This was originally posted at martinheinz.dev

In the last blog post about OpenFaaS function we explored what we can do with OpenFaaS — we created our first OpenFaaS function in Golang, we wrote unit test for it, set up CI/CD with Travis and automated common tasks with Taskfile. Now, it’s time to go little deeper.

In this blog post, we will look into how we can build custom templates, optimize them, build functions from them and finally, we will also incorporate Go modules into…

--

--