toqtype

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustParseCsvAsArray

func MustParseCsvAsArray(content string) []interface{}

MustParseCsvAsArray parses the string as a json array, or panics. Should only use in tests

func MustParseJSONAsArray

func MustParseJSONAsArray(content string) []interface{}

MustParseJSONAsArray parses the string as a json array, or panics. Should only use in tests

func StructToMap

func StructToMap(value interface{}) (map[string]interface{}, error)

StructToMap converts any struct into a corresponding map with string keys for each field name

Types

This section is empty.

Jump to

Keyboard shortcuts

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