The release of generics in Go 1.18 is a major change to the language. How do generics work? How do they impact performance? When do they make sense? A beginner-friendly wrap-up.
Adding numerous edges to a DAG can make the graph unnecessarily complex. However, these graphs can be simplified using a technique called transitive reduction.
Graph data structures are perfectly suited for modeling relations and networks. Visualizing graphs in Go takes two things: A graph library supporting DOT, and Graphviz.
In VS Code, clicking on a Go import will open the GoDoc of the imported package in the browser. This behavior is driven by gopls and can be disabled.
OpenFaaS is an open source functions as a service framework for Kubernetes. This guide illustrates the deployment of a Go function with auto-scaling and metrics.