utility

package
v0.0.0-...-5cada86 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIfNotExist

func CreateIfNotExist(file string) (*os.File, error)

func Exists

func Exists(path string) bool

func GetFileDir

func GetFileDir(file string) string

func GetLocalIp

func GetLocalIp() string

func IsDir

func IsDir(path string) bool

func IsFile

func IsFile(path string) bool

func IsIpLegal

func IsIpLegal(ip string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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