Skip to content

Commit 6743ae5

Browse files
Merge pull request #28 from augmentable-dev/gofmt--s
gofmt
2 parents 0433dc5 + 4ab2750 commit 6743ae5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/comments/comments.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import (
1616
// CStyleCommentOptions ...
1717
var CStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
1818
Boundaries: []lege.Boundary{
19-
lege.Boundary{
19+
{
2020
Start: "//",
2121
End: "\n",
2222
},
23-
lege.Boundary{
23+
{
2424
Start: "/*",
2525
End: "*/",
2626
},
@@ -30,7 +30,7 @@ var CStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
3030
// HashStyleCommentOptions ...
3131
var HashStyleCommentOptions *lege.ParseOptions = &lege.ParseOptions{
3232
Boundaries: []lege.Boundary{
33-
lege.Boundary{
33+
{
3434
Start: "#",
3535
End: "\n",
3636
},
@@ -52,7 +52,7 @@ var LanguageParseOptions map[Language]*lege.ParseOptions = map[Language]*lege.Pa
5252
"Ruby": HashStyleCommentOptions,
5353
"PHP": CStyleCommentOptions,
5454
"Shell": HashStyleCommentOptions,
55-
"Visual Basic": &lege.ParseOptions{Boundaries: []lege.Boundary{lege.Boundary{Start: "'", End: "\n"}}},
55+
"Visual Basic": {Boundaries: []lege.Boundary{{Start: "'", End: "\n"}}},
5656
"TypeScript": CStyleCommentOptions,
5757
"Objective-C": CStyleCommentOptions,
5858
"Groovy": CStyleCommentOptions,

0 commit comments

Comments
 (0)