Using SQLite Extensions with Gorm
10 August 2024
I’ve been building a site in Golang using Gorm as my object relational
mapper because it’s a pain to map things into a struct and use the scan
interface. Not really using it as a query builder, but it’s still handy. I
recently wanted to use some extensions in my queries to do things like unicode
normalization and similar functions. I was also sick of waiting for Cgo
compilation times so I switched to a webassembly build of sqlite embedded into
my go project.
Building a Go Application Inside of AWS CloudShell
29 September 2022
I’ve been learning a little bit of golang as of late, and I wanted to run it on
AWS Lambda. I had a couple errors come up about my libc, and learned that
I need to build my applications on Amazon Linux, so they can run on lambda. I
didn’t want to set up a CodeBuild just to play with a few toy example programs
or setup a couple docker containers. In fact we don’t even need to since AWS
provides CloudShell, a complete shell environment available to every user
of an AWS account.