Golang Base64 to PNG save as directory not exits

后端 未结 0 740
闹比i
闹比i 2021-01-25 13:15

Why it\'s not working

func SavePicture(b64 string) {

idx := strings.Index(b64, ";base64,")
if idx < 0 {
    panic("InvalidImage")
}
ImageT         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题