tools

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: MIT Imports: 10 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 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