geniusio

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedEncoding = errors.New("unsupported encoding")

Functions

func ReadFileData

func ReadFileData(path, format string) (interface{}, error)

ReadFileData decode toml, yaml or json based on file extension

Types

type GenerationWriteFunc

type GenerationWriteFunc func(spec geniustypes.TmplSpecPaths, generated []byte) error

func GetGenerationWriteFunc

func GetGenerationWriteFunc(dryRun bool) GenerationWriteFunc

Jump to

Keyboard shortcuts

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