How fast can you build a microservice in Go? 1 week? 1 day? 1 hour? In this webinar, we start from scratch, build a #microservice that connects to a PostgreSQL database, and then is deployed in a Kubernetes cluster.
We use GoLand IDE, the dedicated Go IDE from JetBrains, to help us
create the micro-service, write tests for it, refactor it to make it friendly for others to read, and assist with both the Database and Kubernetes.
We learn how to use the features like Move, Rename, or Change Signature refactorings, generate tests, run the tests with Coverage support, connect to a Database to have completion support, build our Docker container and, finally, push everything in a Kubernetes cluster. Will this fit in 60 minutes? There's one way to find out.
00:01 - Introduction
01:38 - Scope of the webinar
03:45 - Database deployment to Kubernetes
06:30 - Kubernetes feature overview
07:34 - Connect the IDE to the database
13:00 - Connect the Go application to the database
26:01 - Deploy a Go application to Kubernetes
29:41 - Docker file for a Go application
33:03 - Use HTTP file to make a request from the IDE
35:45 - Use a debugger to debug a Go application in Kubernetes
42:42 - Refactor the code to be reusable and testable
46:34 - Use code generation to create a test
47:45 - Run tests with coverage and automatically rerun tests
49:55 - Quickly write JSON using Inject Language feature
51:08 - Share project on Github
53:03 - Q&A time
About the Presenter:
Florin Pățan is a gopher for a few years now, and he built many high-performance, distributed projects.He helps gophers everywhere and works as a Developer Advocate at JetBrains.
#goland #jetbrains #golang #webinar