helpers

package
v0.0.0-...-a84d8d7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTableHeader

func BuildTableHeader(header []string) []gr.Modifier

func BuildTableRows

func BuildTableRows(rows [][]string, tBody *gr.Element)
func BuildTableRowsLinks(header []string, rows [][]string, links []map[string]string, tBody *gr.Element)

func DeleteAPI

func DeleteAPI(url string) ([]byte, error)

func ErrorElem

func ErrorElem(errStr string) *gr.Element

func GetAPI

func GetAPI(url string) ([]byte, error)

func PutAPI

func PutAPI(url string, data map[string]interface{}) ([]byte, error)

func SuccessElem

func SuccessElem(successStr string) *gr.Element

Types

This section is empty.

Jump to

Keyboard shortcuts

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