loader

package
v0.0.0-...-ddcb0c8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigData

func LoadConfigData() (*[]byte, *defaultError.Error)

LoadConfigData loads file by flag

func LoadConfigDataFile

func LoadConfigDataFile(filename *string) (s *[]byte, successMsg string, err *defaultError.Error)

LoadConfigDataFile loads file by filename as fallback to flag

func LoadFile

func LoadFile(path string) (*[]byte, *defaultError.Error)

LoadFile loads a file and returns the byte load

func PrintConfig

func PrintConfig(config interface{})

PrintConfig prints the config

Types

This section is empty.

Jump to

Keyboard shortcuts

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