base64.go 153 Bytes
Newer Older
kzkzzzz's avatar
kzkzzzz committed
1 2 3 4 5 6 7 8
package hashutil

import "encoding/base64"

func Base64Decode(src string) string {
	res, _ := base64.StdEncoding.DecodeString(src)
	return string(res)
}