Skip to content

Commit

Permalink
cmd/uparse: Fix golint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Mar 30, 2016
1 parent 9b4c95b commit aed2868
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/uparse/uparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func parseFile(path string) (err error) {
}

// Create debug scanner.
ds := NewDebugScanner(s)
ds := newDebugScanner(s)

// Parse input.
p := parser.NewParser()
Expand All @@ -77,9 +77,9 @@ type debugScanner struct {
s parser.Scanner
}

// NewDebugScanner returns a debug scanner which produces debug output while
// newDebugScanner returns a debug scanner which produces debug output while
// scanner from s.
func NewDebugScanner(s parser.Scanner) *debugScanner {
func newDebugScanner(s parser.Scanner) parser.Scanner {
return &debugScanner{s: s}
}

Expand Down

0 comments on commit aed2868

Please sign in to comment.