all: Fix some govet complaints

This commit is contained in:
Albert Nigmatzianov
2017-03-09 18:18:12 +05:00
committed by Bjørn Erik Pedersen
parent 560ed6e686
commit 48120ccfd2
9 changed files with 12 additions and 15 deletions

View File

@@ -254,8 +254,8 @@ type Position struct {
type Pages []*Page
func (p Pages) String() string {
return fmt.Sprintf("Pages(%d)", len(p))
func (ps Pages) String() string {
return fmt.Sprintf("Pages(%d)", len(ps))
}
func (ps Pages) FindPagePosByFilePath(inPath string) int {