utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateFile

func GenerateFile(fileName string, tmplName string, meta interface{})

GenerateFile generates a new file from the passed template and metadata

func GenerateFileWithLogs

func GenerateFileWithLogs(fileName string, tmplName string, meta interface{})

GenerateFileWithLogs generates a new file from the passed template and metadata The difference from GenerateFile function is to output logs

func ToCamel

func ToCamel(str string) string

ToCamel converts a string to CamelCase

Types

This section is empty.

Jump to

Keyboard shortcuts

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