diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 121bf01..8cf7cda 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,6 +1,6 @@ { - "ImportPath": "github.internal.digitalocean.com/antoine/humanlog", - "GoVersion": "devel +a92a99ba40fb Wed Sep 17 16:52:01 2014 -0400", + "ImportPath": "github.com/aybabtme/humanlog", + "GoVersion": "devel +d56326309b20 Thu Oct 02 11:37:06 2014 -0700", "Packages": [ "./..." ], @@ -16,7 +16,7 @@ }, { "ImportPath": "github.com/kr/logfmt", - "Rev": "b84e30acd515aadc4b783ad4ff83aff3299bdfe0" + "Rev": "d08c20444daa49c1f4d4c171c81f36178e5f625d" } ] } diff --git a/Godeps/_workspace/src/github.com/kr/logfmt/scanner_test.go b/Godeps/_workspace/src/github.com/kr/logfmt/scanner_test.go index ac9b2f0..3545225 100644 --- a/Godeps/_workspace/src/github.com/kr/logfmt/scanner_test.go +++ b/Godeps/_workspace/src/github.com/kr/logfmt/scanner_test.go @@ -2,6 +2,7 @@ package logfmt import ( "reflect" + "strconv" "testing" ) @@ -26,6 +27,14 @@ func TestScannerSimple(t *testing.T) { {"x", "sf"}, }, }, + { + `quotes=` + strconv.Quote(`outside double quotes "inside double quotes 'inside single quotes'"`), + []T{{"quotes", `outside double quotes "inside double quotes 'inside single quotes'"`}}, + }, + { + `equals="UPDATE herp SET is_derp=0 WHERE herp_id=9000 AND derp_id=1"`, + []T{{"equals", `UPDATE herp SET is_derp=0 WHERE herp_id=9000 AND derp_id=1`}}, + }, {`x= `, []T{{"x", ""}}}, {`y=`, []T{{"y", ""}}}, {`y`, []T{{"y", ""}}}, diff --git a/README.md b/README.md index 3eb0508..c01a65b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,11 @@ Read logs from `stdin` and prints them back to `stdout`, but prettier. # Using it -[Grab a release](https://github.internal.digitalocean.com/antoine/humanlog/releases). +[Grab a release](https://github.com/aybabtme/humanlog/releases) or : + +```bash +$ go get -u github.com/aybabtme/humanlog/... +``` # Example