ref: 581291dc3b84280432765a338dbc29ed338374e5
parent: 32336e9ec6d4a17bb13c30ca98233adf494ba03b
author: bogem <[email protected]>
date: Mon Nov 21 18:02:52 EST 2016
hugolib: Omit type from declaration of var lang Fix golint warning: hugolib/site.go:922:13: should omit type *helpers.Language from declaration of var lang; it will be inferred from the right-hand side See #2014
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -896,7 +896,7 @@
func (s *Site) initializeSiteInfo() {
var (
- lang *helpers.Language = s.Language
+ lang = s.Language
languages helpers.Languages
)