Documentation
¶
Index ¶
- Constants
- func ForceExit()
- func GoID() int
- func InterfaceToInt(v interface{}) (out int, err error)
- func InterfaceToString(v interface{}) (out string, err error)
- func IsFileExists(filename string) bool
- func LoadBinaryFromFile(fname string) ([]byte, error)
- func LoadImageFromFile(fname string) (image.Image, error)
- func LoadJSONFromFile(fname string, obj interface{}) error
- func MakeFullDir(p string) error
- func ProjectRoot() string
- func Reboot() error
- func SearchUpFile(base string, filename string) (fullpath string, err error)
- func SetSystemDate(newTime time.Time) error
- func UserHome() (string, error)
- func ValidFileName(fname string) bool
- func WindowsSystemDrive() string
- type Alive
Constants ¶
View Source
const ( Online = iota Offline )
Variables ¶
This section is empty.
Functions ¶
func InterfaceToInt ¶
func InterfaceToString ¶
func IsFileExists ¶
func LoadBinaryFromFile ¶
func LoadJSONFromFile ¶
func MakeFullDir ¶
func ProjectRoot ¶
func ProjectRoot() string
func SetSystemDate ¶
func ValidFileName ¶
func WindowsSystemDrive ¶
func WindowsSystemDrive() string
Types ¶
Click to show internal directories.
Click to hide internal directories.