1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-21 23:32:18 -07:00
Files
wtf/utils/init.go
2019-10-12 17:44:28 -04:00

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
}