Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
coo7
/
monixxca
like
2
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
monixxca
/
internal
/
utils
/
base64.go
coo7
Create utils/base64.go
6d0493f
verified
over 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
196 Bytes
package
utils
import
(
"encoding/base64"
)
// Base64Decode 解码base64字符串为字节数组
func
Base64Decode
(data
string
)
([]
byte
,
error
) {
return
base64.StdEncoding.DecodeString(data)
}