Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I was always a bit confused about the complexity of my previous migration tool of choice, https://github.com/golang-migrate/migrate . While it does the job, setup of it on new projects is always a bit of a confusion. I wanted to build something simpler. My thought process:
I think you can actually already embed the migration files with golang-migrate fyi. I did it in the following project, where I use the http.FS option for that: https://github.com/brumhard/geckgo/blob/c5324559fa8a7e741e4b9caba19e3f956d6b9996/cmd/geckgo/main.go#L94. Anyways since it's been a while I could imagine that they've added even better support for it since then.
Related posts
- How to use SQLC with Golang
- Looking for recommendations for model/schema/migration management in Golang
- best practices for testing of stored procedure calls?
- Authentication system using Golang and Sveltekit - User registration
- is golang-migrate safe in production,i may be obsessive here , but anything that deals with db in production makes me very worried.. this tool installed in linux by a bash , then use cli to get the connection string , so is there any vulnerability to send the connection string out of my project?