Skip to content

Use a single main, and allow to select driver at compile time or run time #1

@dolmen

Description

@dolmen

The single difference between the 2 implementation should be the selected SQL driver to use.

Selecting the SQL driver could be done either:

  • at build time, using build tags with go build -tag
  • at run time, using a command-line flag (this requires to embed both drivers)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions