move subfolders in pkg/

This commit is contained in:
aler9
2020-11-15 17:26:09 +01:00
parent 65f6afcd9f
commit c31922be16
43 changed files with 34 additions and 34 deletions

12
pkg/auth/utils.go Normal file
View File

@@ -0,0 +1,12 @@
package auth
import (
"crypto/md5"
"encoding/hex"
)
func md5Hex(in string) string {
h := md5.New()
h.Write([]byte(in))
return hex.EncodeToString(h.Sum(nil))
}