1 2 3 4 5 6 7 8 9 10 11 12
// +build !windows,!linux package config // GetPlatformDefaultConfig gets the defaults for the platform func GetPlatformDefaultConfig() OSConfig { return OSConfig{ EditCommand: ``, OpenCommand: "open {{filename}}", OpenLinkCommand: "open {{link}}", } }