mirror of
https://github.com/taigrr/wtf
synced 2026-03-21 23:32:18 -07: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
|
|
}
|