Skip to content

Commit 58107ef

Browse files
Update README.md
1 parent a6eb3a7 commit 58107ef

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# csv-2-postgresql-go
2-
A Go application that reads an arbitrary csv, determines it's schema, and loads it into a target PostgreSQL database.
2+
A Go application that reads an arbitrary csv, determines it's schema, and loads it into a target PostgreSQL database. It supports SMALLINT, INTEGER, BIGINT, FLOAT, DOUBLE, BOOL, and TEXT datatypes.
3+
4+
# Building and Testing
5+
6+
`make` - Download project dependencies, build, and run tests
7+
`make test` - Run tests
8+
`make test_watch` - Run tests in watch mode
9+
10+
# Usage
11+
12+
To use the application, first build with `make`, then execute the application providing as arguments the name of the csv file and the postgresql connection string to store data in.
13+
14+
`make`
15+
`./bin/csv-2-postgresql test2.csv postgres://postgres:hello@localhost/test?sslmode=disable`

0 commit comments

Comments
 (0)