util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFile

func DeleteFile(filename string) (err error)

func FileExists

func FileExists(path string) (exists bool)

func GetHomeDir

func GetHomeDir() (path string, err error)

Path and file functions

func GetTimestamp

func GetTimestamp() (timestamp uint64)

func PathExistsAndIsWritable

func PathExistsAndIsWritable(path string) (err error)

func ReadFile

func ReadFile(filename string) (string, error)

func RoundTo

func RoundTo(n float64, decimals uint32) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

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