Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kaorimatz committed Jun 4, 2018
0 parents commit 9099c33
Show file tree
Hide file tree
Showing 37 changed files with 7,634 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/dist/
/mysqldump-loader
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sign:
artifacts: checksum
21 changes: 21 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[[constraint]]
branch = "master"
name = "github.com/go-sql-driver/mysql"

[prune]
go-tests = true
unused-packages = true
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# mysqldump-loader

Load a MySQL dump file using LOAD DATA INFILE.

## Usage

./mysqldump-loader

### Flags

$ ./mysqldump-loader --help
Usage of ./mysqldump-loader:
-concurrency int
Maximum number of concurrent load operations. (default Number of available CPUs)
-data-source-name string
Data source name for MySQL server to load data into
-dump-file string
MySQL dump file to load
-low-priority
Use LOW_PRIORITY when loading data

## Development

### Building

go build
Loading

0 comments on commit 9099c33

Please sign in to comment.