helpers

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCase

func CamelCase(s string) string

func Close

func Close(closer io.Closer)

func ConfirmOverwrite

func ConfirmOverwrite(path string) bool

func Exec

func Exec(name string, args ...string) error

func ExecTemplate

func ExecTemplate(payload string, data interface{}) (string, error)

func ExecWithEnv

func ExecWithEnv(name string, env []string, args ...string) error

func GoName

func GoName(s string) string

func Mkdir

func Mkdir(path string) error

func SnakeCase

func SnakeCase(s string) string

func UpperCamelCase

func UpperCamelCase(s string) string

func WriteToFile

func WriteToFile(path string, data []byte) error

func WriteWithConfirm

func WriteWithConfirm(path string, data []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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