mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-01 22:42:45 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -93,7 +93,7 @@ func (m *FileMeta) Merge(from *FileMeta) {
|
||||
dstv := reflect.Indirect(reflect.ValueOf(m))
|
||||
srcv := reflect.Indirect(reflect.ValueOf(from))
|
||||
|
||||
for i := 0; i < dstv.NumField(); i++ {
|
||||
for i := range dstv.NumField() {
|
||||
v := dstv.Field(i)
|
||||
if !v.CanSet() {
|
||||
continue
|
||||
|
Reference in New Issue
Block a user