meow purrr :3
This commit is contained in:
parent
3fb5fc9033
commit
aff3757618
5 changed files with 93 additions and 0 deletions
9
src/helper/stringfuckery.go
Normal file
9
src/helper/stringfuckery.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package helper
|
||||
|
||||
func Ender() string {
|
||||
return string(rune(0))
|
||||
}
|
||||
|
||||
func ByteWithEnd(str string) []byte {
|
||||
return append([]byte(str), byte(0))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue