parent
fec0876f8a
commit
2119548124
@ -1,14 +0,0 @@
|
|||||||
package test
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"git.sre.ink/go/gtool"
|
|
||||||
"testing"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestStr(tt *testing.T) {
|
|
||||||
fmt.Println(gtool.Str.HexEncode("hello world!"))
|
|
||||||
//68656c6c6f20776f726c6421
|
|
||||||
fmt.Println(gtool.Str.HexDecode("68656c6c6f20776f726c6421"))
|
|
||||||
//hello world! <nil>
|
|
||||||
}
|
|
||||||
Loading…
Reference in new issue