Mason Payne 34541d687f | ||
---|---|---|
.idea | ||
db | ||
go.mod | ||
go.sum | ||
main.go | ||
readme.md |
readme.md
LibSQL Boilerplate Golang
Copy this repo to have a golang application that is already set up to work with libSQL.
How to use
- Copy this repo to your new project
- Modify two files.
go.mod needs a new package name.
main.go needs to use the package name to import from {{packageName}}/db
- Set up your environment variables
LIBSQL_AUTH_TOKEN LIBSQL_DATABASE_URL