helpers

package
v0.0.0-...-3324a55 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnvFile

func LoadEnvFile()

LoadEnvFile loads .env file.

func OpenFile

func OpenFile(path string, isAppend bool) (*os.File, error)

OpenFile opens specified file. Creates file and its path if they do not exist.

func OpenLogFile

func OpenLogFile(dest string) (*os.File, error)

OpenLogFile opens/creates log file.

func ProcessArgs

func ProcessArgs()

ProcessArgs parses and processes theh commandline options passed.

func SetStatusLogFile

func SetStatusLogFile()

SetStatusLogFile sets the file where status logs go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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