Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add drivers into the sqlsource package #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

llexical
Copy link

Adding in the mysql and postgres drivers into the sqlsource package so other Go programs can use this library without relying on the commandline interface.

There are 3 pull requests in total for this:

  • Adding the drivers into this package
  • Updating segment-sources/mysql so uses the main packages MySQL driver
  • Updating segment-sources/postgres so it uses the main packages Postgres driver

@sperand-io
Copy link

discussing over here: segment-boneyard/source-postgres#6

(though admittedly this probably would have been the better place to host this discussion :)

@@ -34,7 +33,7 @@ Usage:
[-- <extra-driver-options>...]
dbsource -h | --help
dbsource --version

$P

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this was an accident ? :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh lol xD let me remove that tomorrow morning, a bit late right now where I am!

@@ -4,9 +4,9 @@ import (
"fmt"
"strings"

"github.com/Lilibuth12/sqlsource/domain"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to remove this reference, should be using the sqlsource/domain in this repo.

Copy link
Author

@llexical llexical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix this tomorrow!

"fmt"
"strings"

"github.com/Lilibuth12/sqlsource/domain"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again

"fmt"
"strings"

"github.com/Lilibuth12/sqlsource/domain"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants