Simplify code
authorChristian Muehlhaeuser <muesli@gmail.com>
Fri, 2 Aug 2019 14:37:28 +0000 (14:37 +0000)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 10 Aug 2019 18:10:32 +0000 (20:10 +0200)
commita93cbb0d6cc6e3a78ba34aa372abc5b41ca24b2c
treef57fd364a95ef8d87fd9f91d182766ffceafea61
parentbd98182dbde893a8a809661c70633741bbf63911
Simplify code

- Use bytes.Equal instead of bytes.Compare
- Omit range's value where it's unused
helpers/content_test.go
tpl/tplimpl/template.go