mirror of
https://github.com/xfrr/goffmpeg.git
synced 2026-04-22 23:17:21 +08:00
ec40467798
* cleanup readme & examples * upgrade go version * add makefile with basic commands * add e2e test * add gha * update .gitignore
17 lines
181 B
Go
17 lines
181 B
Go
package cmd
|
|
|
|
import "runtime"
|
|
|
|
var (
|
|
platform = runtime.GOOS
|
|
)
|
|
|
|
func getFindCommand() string {
|
|
switch platform {
|
|
case "windows":
|
|
return "where"
|
|
default:
|
|
return "which"
|
|
}
|
|
}
|