mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
all: Fix some govet complaints
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
560ed6e686
commit
48120ccfd2
@@ -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 {
|
||||
|
Reference in New Issue
Block a user