Skip to content

Allow dialers and TLS configuration to be added directly to MySQLDriver type #771

Closed
@zombiezen

Description

@zombiezen

I would like to be able to create MySQL connections with custom TLS configuration and dialers without modifying the package-global registries, especially now that Go 1.10's OpenDB function is available. If the same register functions were available as methods on the driver and modifying a particular driver's state, that would go a long way.

Happy to send a PR to fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions