util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurGoroutineID

func CurGoroutineID() uint64

CurGoroutineID get current goroutine id

func E2P

func E2P(err error)

E2P error to panic

func MustDirExists

func MustDirExists(name string) bool

MustDirExists check path exist and type dir

func MustExists

func MustExists(name string) bool

MustExists check path exist

func MustFileExists

func MustFileExists(name string) bool

MustFileExists check path exist and type file

func MustGetwd

func MustGetwd() string

MustGetwd wrap os.Getwd

Types

This section is empty.

Jump to

Keyboard shortcuts

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