From 9454574fdfb48c8d3767aaae68a450762666e643 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 18 Jul 2018 14:00:56 -0500 Subject: [PATCH 01/31] BREAKING CHANGE: private repository moved to public github. Co-authored-by: sydney-ng --- .gitconfig | 2 + .gitignore | 3 + .gittemplate | 20 +++ Gopkg.lock | 48 +++++++ Gopkg.toml | 34 +++++ README.md | 80 ++++++++++- config.sh | 8 ++ main_test.go | 162 +++++++++++++++++++++ mappings.json | 55 +++++++ parse.go | 197 ++++++++++++++++++++++++++ test/cases/test-file-json-object.json | 5 + test/cases/test-file-plain-text.txt | 1 + 12 files changed, 613 insertions(+), 2 deletions(-) create mode 100755 .gitconfig create mode 100755 .gittemplate create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml create mode 100755 config.sh create mode 100644 main_test.go create mode 100644 mappings.json create mode 100644 parse.go create mode 100644 test/cases/test-file-json-object.json create mode 100644 test/cases/test-file-plain-text.txt diff --git a/.gitconfig b/.gitconfig new file mode 100755 index 0000000..376b5d8 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,2 @@ +[commit] + template = .gittemplate \ No newline at end of file diff --git a/.gitignore b/.gitignore index f1c181e..9a8b391 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +vendor/ +.DS_Store + # Binaries for programs and plugins *.exe *.exe~ diff --git a/.gittemplate b/.gittemplate new file mode 100755 index 0000000..600c4e5 --- /dev/null +++ b/.gittemplate @@ -0,0 +1,20 @@ +# Type(): +# +#