文件名称:go_mediainfo
文件大小:1KB
文件格式:ZIP
更新时间:2024-03-12 04:25:41
go_mediainfo // mediainfo_test.go package mediainfo_test import ( "fmt" "github.com/zhulik/go_mediainfo" "io/iouttil" "os" "testing" ) const ( ogg = "testdata/test.ogg" mp3 = "testdata/test.mp3" nonExists = "testdata/non_exists.ogg" ) func TestOpenWithOgg ( t * testing. T ) { mi := medianinfo . NewMediaInfo () error := mi . OpenFile ( ogg ) if error != nil { t . Fail ()
【文件预览】:
go_mediainfo-master
----README.md(4KB)