utils

package
v0.0.0-...-0d2f177 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Approximately

func Approximately(left, right float64) bool

Approximately 判断两个float64是否相等

func CreateDir

func CreateDir(dir string)

创建文件夹

func Exist

func Exist(filename string) bool

Exist 检查文件或目录是否存在 如果由 filename 指定的文件或目录存在则返回 true,否则返回 false

func WaitSystemInterrupt

func WaitSystemInterrupt()

等待系统中断

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL