utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package display provides a means to display structured data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsRune

func ContainsRune(s []rune, e rune) bool

func ContainsString

func ContainsString(s []string, e string) bool

func ContainsStringPartial

func ContainsStringPartial(s []string, e string) bool

func Display

func Display(name string, x interface{})

func PrettyPrint

func PrettyPrint(i interface{}) string

func SetJson

func SetJson(parentObj *gabs.Container, childObj *gabs.Container, key string) *gabs.Container

func UnicodeCategory

func UnicodeCategory(r rune) string

UnicodeCategory returns the Unicode Character Category of the given rune.

Types

type ParseError

type ParseError struct {
	Pos     int
	LineNum int
	// contains filtered or unexported fields
}

func NewParseError

func NewParseError(pos int, line int, msg string, args []string) *ParseError

func (ParseError) Error

func (p ParseError) Error() string

Jump to

Keyboard shortcuts

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