Why Nostr? What is Njump?
2024-08-19 13:15:10
in reply to

lil5 :golang: 🌱 on Nostr: > Using len() on a string in Go returns the number of bytes, not the number of runes. ...

> Using len() on a string in Go returns the number of bytes, not the number of runes.

This is wild to me when working with runes.

But then again when working with file contents “string([]byte{})” it starts to make more sense.
Author Public Key
npub13mf5xspvn2elj6cnmvc6x4r3fv53ecpgysjlgjwkuq7f7mxwfuxqv6tkv8