package main import ( "mime" "testing" ) func Test_Mime(t *testing.T) { // Test code here m := "application/rar" m = "video/mp4" t.Log(mime.ExtensionsByType(m)) }