mosso

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

README

banner

MOSSO is designed to be used as a development kit for rapid debugging during development.

Install

go get -u github.com/coolstina/mosso

How to use?

It's very simple to use, just out of the box, and you can view the documentation through GoDoc.

Documentation

Index

Constants

View Source
const (
	DefaultWriteFileName = "mosso.txt"
)

Variables

This section is empty.

Functions

func DebugContentWithJSON

func DebugContentWithJSON(data interface{}, ops ...Option) string

DebugContentWithJSON Get debugging data information, which can be customized by option type method.

func DebugConvertInterfaceToJSONString

func DebugConvertInterfaceToJSONString(in interface{}, format bool) string

DebugConvertInterfaceToJSONString convert object to string.

func DebugShowContentWithJSON

func DebugShowContentWithJSON(data interface{}, ops ...Option)

DebugShowContentWithJSON Output debugging data information, which can be customized by option type method.

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithSpecificOfBottomSpaceLine

func WithSpecificOfBottomSpaceLine(number int) Option

func WithSpecificOfFilename added in v1.1.0

func WithSpecificOfFilename(filename string) Option

func WithSpecificOfFormat

func WithSpecificOfFormat(format bool) Option

func WithSpecificOfLineNumber

func WithSpecificOfLineNumber(lineNum bool) Option

func WithSpecificOfShowType

func WithSpecificOfShowType(typ bool) Option

func WithSpecificOfVisual

func WithSpecificOfVisual(visual bool) Option

func WithSpecificOfWriteFile

func WithSpecificOfWriteFile(writeFile bool) Option

Jump to

Keyboard shortcuts

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