tools

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressFile

func CompressFile(filename string) (zipfile string, err error)

CompressFile is a simple file gzipper.

func HTTPHeadersToShellVars added in v1.1.0

func HTTPHeadersToShellVars(h http.Header) []string

HTTPHeadersToShellVars convert HTTP headers to shell vars.

func QueryParamsToShellVars

func QueryParamsToShellVars(q url.Values) []string

QueryParamsToShellVars convert URL query parameters to shell vars.

func ResolveScript added in v1.2.4

func ResolveScript(dir, name string) (string, error)

ResolveScript is resolving the target script.

func ToSnakeCase

func ToSnakeCase(in string) string

ToSnakeCase convert string to snakecase.

Types

This section is empty.

Jump to

Keyboard shortcuts

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