utils

package
v1.0.1-0...-f59820d Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileModTime

func GetFileModTime(path string) int64

GetFileModTime ... get file modified unix time

func IsFileExist

func IsFileExist(fpath string) bool

IsFileExist check file exist

func UnixTimeDuration

func UnixTimeDuration(t1, t2 int64) time.Duration

UnixTimeDuration 计算时间戳的间隔

Types

This section is empty.

Jump to

Keyboard shortcuts

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