Skip to content

Commit 0dfa339

Browse files
eduardevfabiomsouto
authored andcommitted
first release (#2)
* Add info about releases * add new configuration flag for valid input file extensions * add go dep for dependency management * add barebones Config test + update dependencies with gomega * create interface for configs to make it testable * update dependencies * add first tests to Configurations * add getter for new config param * new logic on valid file extensions * update documentation * add some files for testing * make Consul ACL flag optional * only set Consul ACL header when flag is provided * trim any dots on file extensions * minor documentation fixes
1 parent 1c345f9 commit 0dfa339

27 files changed

+711
-86
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
.idea
1+
.idea
2+
vendor
3+
tests/mocks/*
4+
!tests/mocks/.gitkeep

Gopkg.lock

Lines changed: 285 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Gopkg.toml example
2+
#
3+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4+
# for detailed Gopkg.toml documentation.
5+
#
6+
# required = ["github.com/user/thing/cmd/thing"]
7+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8+
#
9+
# [[constraint]]
10+
# name = "github.com/user/project"
11+
# version = "1.0.0"
12+
#
13+
# [[constraint]]
14+
# name = "github.com/user/project2"
15+
# branch = "dev"
16+
# source = "github.com/myfork/project2"
17+
#
18+
# [[override]]
19+
# name = "github.com/x/y"
20+
# version = "2.4.0"
21+
#
22+
# [prune]
23+
# non-go = false
24+
# go-tests = true
25+
# unused-packages = true
26+
27+
28+
[[constraint]]
29+
name = "github.com/cbroglie/mustache"
30+
version = "1.0.1"
31+
32+
[[constraint]]
33+
name = "github.com/gorilla/mux"
34+
version = "1.6.2"
35+
36+
[[constraint]]
37+
branch = "master"
38+
name = "github.com/olekukonko/tablewriter"
39+
40+
[[constraint]]
41+
name = "github.com/onsi/gomega"
42+
version = "1.4.0"
43+
44+
[[constraint]]
45+
name = "gopkg.in/src-d/go-git.v4"
46+
version = "4.4.1"
47+
48+
[prune]
49+
go-tests = true
50+
unused-packages = true
51+
52+
[[constraint]]
53+
name = "github.com/stretchr/testify"
54+
version = "1.2.2"

0 commit comments

Comments
 (0)