oxtyped / gpodder2go

gpodder2go is a simple self-hosted, golang, drop-in replacement for gpodder/mygpo server to handle podcast subscriptions management for gpodder clients
GNU Affero General Public License v3.0
98 stars 13 forks source link

consider using `embed.FS` for `migrations/*sql` #10

Closed sbinet closed 1 year ago

sbinet commented 1 year ago

if we were to request Go>=1.15, we could use embed.FS to pack the files under migrations and have a fully relocatable gpodder2go binary.

we would have to use v4/source/iofs instead of v4/source/file in cmd/init.go.

WDYT ?