Skip to content

Idea: Separate eventstore/${driver.go} into eventstore/${driver} packages #9

@maclav3

Description

@maclav3

If there's more drivers, then perhaps

import "esja/pkg/eventstore/sql"

sql.NewStore[MyAggregate](...)

would be better than

import "esja/pkg/eventstore"

eventstore.NewSQLStore[MyAggregate](...)

Besides, we could have separate go.mods for those drivers, so that the main lib doesn't have to depend on postgres or sqlite

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaCould be a good idea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions