utils

package module
v0.0.0-...-dfe5c7f Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

sageflow-utils

Project-level Utilities

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