shared

package
Version: v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultComponentNameOutput = "componentNameTest"
	DefaultContentOutput       = "contentTest"
	DefaultFileMode            = 0o644
	DefaultPrefixValue         = "My Prefix - "
	DefaultTimestampFormat     = "2006"
)

Shared cross-tests.

View Source
const ErrorPrefix = "[sypl] [Error]"

Shared cross-pkgs, when logging sypl errors.

Variables

This section is empty.

Functions

func Prettify

func Prettify(data interface{}) string

Prettify encodes data returning its JSON-stringified version.

Note: Only exported fields of the data structure will be printed.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL