helpers

package
v0.11.127 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CastResultToInteger

func CastResultToInteger(res [][]interface{}) (int64, error)

func GetAllFilesInDir added in v0.11.123

func GetAllFilesInDir(fs afero.Fs, dir string) ([]string, error)

func GetIngestrDestinationType added in v0.6.6

func GetIngestrDestinationType(asset *pipeline.Asset) (pipeline.AssetType, error)

func GetLatestFileInDir added in v0.11.123

func GetLatestFileInDir(fs afero.Fs, dir string) (string, error)

func PrefixGenerator

func PrefixGenerator() string

func ReadJSONToFile added in v0.11.123

func ReadJSONToFile(fs afero.Fs, filename string, v interface{}) error

func WriteJSONToFile added in v0.11.122

func WriteJSONToFile(fs afero.Fs, data interface{}, filename string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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