graph
A Go library for creating and modifying graph data structures.
1package main 2 3import "github.com/dominikbraun/graph" 4 5func main() { 6 g := graph.New(graph.IntHash) 7 g.AddVertex(1) 8 g.AddVertex(2) 9}
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.
View PostA Go library for creating and modifying graph data structures.
1package main 2 3import "github.com/dominikbraun/graph" 4 5func main() { 6 g := graph.New(graph.IntHash) 7 g.AddVertex(1) 8 g.AddVertex(2) 9}
A CLI tool for tracking your working time directly from the terminal.
timetrace create project my-website ✅ Created project my-website $ timetrace start my-website +design ✅ Started tracking time
A simple and lightweight static site generator for Markdown content.
1# verless.yml 2site: 3 title: My Blog 4 url: https://dominik.info 5build: 6 output: public 7 theme: default
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.
Adding numerous edges to a DAG can make the graph unnecessarily complex. However, these graphs can be simplified using a technique called transitive reduction.