"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tpl/internal/go_templates/fmtsort/sort.go" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

sort.go  (hugo-0.80.0):sort.go  (hugo-0.81.0)
skipping to change at line 133 skipping to change at line 133
case reflect.Bool: case reflect.Bool:
a, b := aVal.Bool(), bVal.Bool() a, b := aVal.Bool(), bVal.Bool()
switch { switch {
case a == b: case a == b:
return 0 return 0
case a: case a:
return 1 return 1
default: default:
return -1 return -1
} }
case reflect.Ptr: case reflect.Ptr, reflect.UnsafePointer:
a, b := aVal.Pointer(), bVal.Pointer() a, b := aVal.Pointer(), bVal.Pointer()
switch { switch {
case a < b: case a < b:
return -1 return -1
case a > b: case a > b:
return 1 return 1
default: default:
return 0 return 0
} }
case reflect.Chan: case reflect.Chan:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)