util

package
v0.0.0-...-9a81921 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressString

func CompressString(s string) (string, error)

func DecompressString

func DecompressString(s string) (string, error)

func GetOptionalEnv

func GetOptionalEnv(key, fallback string) string

func GetRequiredEnv

func GetRequiredEnv(key string) string

func IsHexColor

func IsHexColor(str string) bool

func MarkdownImplicitFigures

func MarkdownImplicitFigures(input []byte) []byte

func MarkdownToHTML

func MarkdownToHTML(input []byte) []byte

func MarkdownToText

func MarkdownToText(s string) string

func NewBool

func NewBool(value bool) *bool

func RemoveEmptyStrings

func RemoveEmptyStrings(strs []string) []string

func RemoveQuotes

func RemoveQuotes(s string) string

func ReplaceWithPadding

func ReplaceWithPadding(match, replace string) string

func Split

func Split(s string, f func(rune) bool) []string

func StringToInterface

func StringToInterface(strs []string) []interface{}

func Trace

func Trace(message string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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