mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
12 lines
303 B
Go
12 lines
303 B
Go
package utils
|
|
|
|
// OpenFileUtil defines the system utility to use to open files
|
|
var OpenFileUtil = "open"
|
|
var OpenUrlUtil = []string{}
|
|
|
|
// Init initializes global settings in the wtf package
|
|
func Init(openFileUtil string, openUrlUtil []string) {
|
|
OpenFileUtil = openFileUtil
|
|
OpenUrlUtil = openUrlUtil
|
|
}
|