apply gofmt

This commit is contained in:
Victor Shyba 2021-10-04 23:21:59 -03:00
parent d11230aaf8
commit 8161f48c15
3 changed files with 8 additions and 7 deletions

View file

@ -21,6 +21,7 @@ func NormalizeName(s string) string {
c := cases.Fold()
return c.String(norm.NFD.String(s))
}
// ReverseBytesInPlace reverse the bytes. thanks, Satoshi 😒
func ReverseBytesInPlace(s []byte) {
for i, j := 0, len(s)-1; i < j; i, j = i+1, j-1 {