/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

luketic.de
| | bartlomiejmika.com
4.5 parsecs away

Travel
| | The purpose of this post is to provide instructions on how to setup a simple RESTful API server, in Golang, using only the net/http package and not any other third-party web framework. You will learn how to create REST endpoints within your project that can handle POST, GET, PUT and DELETE HTTP requests. This is the first post in a multi-post series.
| | hjr265.me
4.1 parsecs away

Travel
| | I have been meaning to do a few short-form blog posts lately. This blog post is going to be one of them. In Go, on Linux, if you want to know when the terminal window is resized, you can listen for the SIGWINCH signal using the signal.Notify (or the signal.NotifyContext) function. The code will look something like this: 1 2 3 4 5 ch := make(chan os.Signal) signal.Notify(ch, syscall.SIGWINCH) for range ch { // The terminal has been resized.
| | infinitedigits.co
3.5 parsecs away

Travel
| | A simple pattern to get started using worker pools with Golang.
| | danilafe.com
17.8 parsecs away

Travel
| In this post, we implement a garbage collector that frees memory no longer used by the executables our compiler creates.