If you want data persistence in your Go application, most likely you're thinking of using some database. The easiest and probably the most convenient for deployment are embedded databases. There are many wrappers for C databases, however Go developers usually prefer pure Golang solutions. Bolt is the way to go: it's a pure Go embedded key/value database, which is easy to use for persistence in you