Use fmt.Errorf to make Golint happy - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit be8e6d4f1fbde728c0e2ede438e1827aba73fdd2
 (DIR) parent be01f8430ec009d5a375ea384aa4893683e8e499
 (HTM) Author: bep <bjorn.erik.pedersen@gmail.com>
       Date:   Tue, 21 Apr 2015 21:13:28 +0200
       
       Use fmt.Errorf to make Golint happy
       
       Diffstat:
         M hugolib/pagination.go               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/hugolib/pagination.go b/hugolib/pagination.go
       @@ -286,7 +286,7 @@ func toPages(seq interface{}) (Pages, error) {
                case PageGroup:
                        return (seq.(PageGroup)).Pages, nil
                default:
       -                return nil, errors.New(fmt.Sprintf("unsupported type in paginate, got %T", seq))
       +                return nil, fmt.Errorf("unsupported type in paginate, got %T", seq)
                }
        }