Grab downloader

This commit is contained in:
Lorenzo Bolla committed 2022-01-31 10:32:54 +01:00
1 parent f93bc6ef0f
commit 894192851e
38 files changed
+4240 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package grabtest
import "encoding/hex"
func MustHexDecodeString(s string) (b []byte) {
var err error
b, err = hex.DecodeString(s)
if err != nil {
panic(err)
}
return
}
func MustHexEncodeString(b []byte) (s string) {
return hex.EncodeToString(b)
}