Jinhaili

Results 1 issues of Jinhaili

func Mp3Time(){ byteBody, anyErr := ioutil.ReadFile("./test.mp3") if anyErr != nil { fmt.Printf("ReadFile err:%v\n", anyErr) return } fmt.Printf("len byteMp3:%v\n", len(string(byteBody))) streamer, format, anyErr := mp3.Decode(ioutil.NopCloser(bytes.NewBuffer(byteBody))) if anyErr != nil { fmt.Printf("Decode...