aws-sdk-go: Index | Files

package util

import ""


Package Files

sort_keys.go util.go

func Capitalize Uses

func Capitalize(s string) string

Capitalize capitalizes the first character of the string.

func GoFmt Uses

func GoFmt(buf string) string

GoFmt returns the Go formated string of the input.

Panics if the format fails.

func PrettyPrint Uses

func PrettyPrint(v interface{}) string

PrettyPrint generates a human readable representation of the value v. All values of v are recursively found and pretty printed also.

func SortXML Uses

func SortXML(r io.Reader) string

SortXML sorts the reader's XML elements

func SortedKeys Uses

func SortedKeys(m map[string]interface{}) []string

SortedKeys returns a sorted slice of keys of a map.

func Trim Uses

func Trim(s string) string

Trim removes all leading and trailing white space.

All consecutive spaces will be reduced to a single space.

Package util imports 10 packages (graph) and is imported by 116 packages. Updated 2017-11-04. Refresh now. Tools for package owners.