package postgresql import ( "github.com/jmoiron/sqlx" ) type PostgresBackend struct { *sqlx.DB DatabaseURL string QueryLimit int QueryIDsLimit int QueryAuthorsLimit int QueryKindsLimit int QueryTagsLimit int KeepRecentEvents bool } func (b *PostgresBackend) Close() { b.DB.Close() }