Skip to content

Commit cc21ff2

Browse files
Merge pull request #12 from augmentable-dev/upgrade-lege
upgrade lege
2 parents 6e4fd76 + d3505fd commit cc21ff2

File tree

9 files changed

+228
-44
lines changed

9 files changed

+228
-44
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/augmentable-dev/tickgit
33
go 1.13
44

55
require (
6-
github.com/augmentable-dev/lege v0.0.0-20191023021623-869a91bc405e
6+
github.com/augmentable-dev/lege v0.0.0-20191028004410-79cb985065a1
77
github.com/hashicorp/hcl/v2 v2.0.0
88
github.com/spf13/cobra v0.0.5
99
github.com/spf13/pflag v1.0.5 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/
1111
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
1212
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
1313
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
14-
github.com/augmentable-dev/lege v0.0.0-20191023021623-869a91bc405e h1:geKUZgzslZzV3VHxeMCwRhS4Zs/ocu2mTer4+dB3094=
15-
github.com/augmentable-dev/lege v0.0.0-20191023021623-869a91bc405e/go.mod h1:DtuvAW6+SE9e44O6eLaMJp8PFiadmk6NfXslCKYCiB0=
14+
github.com/augmentable-dev/lege v0.0.0-20191028004410-79cb985065a1 h1:NBe2//2MA/Z7X4wuKnHSIN+xI/oBTLYMJVc8VCwXK4o=
15+
github.com/augmentable-dev/lege v0.0.0-20191028004410-79cb985065a1/go.mod h1:DtuvAW6+SE9e44O6eLaMJp8PFiadmk6NfXslCKYCiB0=
1616
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
1717
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
1818
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=

pkg/comments/comments.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import (
1717
var CStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
1818
Boundaries: []lege.Boundary{
1919
lege.Boundary{
20-
Starts: []string{"//"},
21-
Ends: []string{"\n"},
20+
Start: "//",
21+
End: "\n",
2222
},
2323
lege.Boundary{
24-
Starts: []string{"/*"},
25-
Ends: []string{"*/"},
24+
Start: "/*",
25+
End: "*/",
2626
},
2727
},
2828
}
@@ -31,8 +31,8 @@ var CStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
3131
var HashStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
3232
Boundaries: []lege.Boundary{
3333
lege.Boundary{
34-
Starts: []string{"#"},
35-
Ends: []string{"\n"},
34+
Start: "#",
35+
End: "\n",
3636
},
3737
},
3838
}

vendor/github.com/augmentable-dev/lege/collections.go

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

vendor/github.com/augmentable-dev/lege/parse.go

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

vendor/gopkg.in/src-d/go-git.v4/plumbing/cache/object_lru 2.go

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

vendor/gopkg.in/src-d/go-git.v4/plumbing/error 2.go

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

vendor/gopkg.in/src-d/go-git.v4/plumbing/format/config/decoder 2.go

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

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
github.com/agext/levenshtein
33
# github.com/apparentlymart/go-textseg v1.0.0
44
github.com/apparentlymart/go-textseg/textseg
5-
# github.com/augmentable-dev/lege v0.0.0-20191023021623-869a91bc405e
5+
# github.com/augmentable-dev/lege v0.0.0-20191028004410-79cb985065a1
66
github.com/augmentable-dev/lege
77
# github.com/emirpasic/gods v1.12.0
88
github.com/emirpasic/gods/containers

0 commit comments

Comments
 (0)