diff --git a/src/pages/md/2024-01-26-go-generics-sfj-db.md b/src/pages/md/2024-01-26-go-generics-sfj-db.md index 699e551..9b05469 100644 --- a/src/pages/md/2024-01-26-go-generics-sfj-db.md +++ b/src/pages/md/2024-01-26-go-generics-sfj-db.md @@ -1,11 +1,11 @@ --- -title: "Go Generics - Single file JSON DB" +title: "Using Go Generics to create a Single file JSON DB" excerpt: "Storing your data in a single json file can be useful when there isn't much state that needs to be tracked. In this post we leverage Go's generics to implement a simple JSON DB." author: "Miguel Liezun" -tags: markdown,parser,blog +tags: go,json,db,generics --- -# Go Generics - Single file JSON DB +# Using Go Generics to create a Single file JSON DB Let's start with an example use case: you have a multitenant web server that serves pages for various customers, you can know how to which page to serve based on `Host` header in the request.