Documentation ¶
Index ¶
- Constants
- func DebugContentWithJSON(data interface{}, ops ...Option) string
- func DebugConvertInterfaceToJSONString(in interface{}, format bool) string
- func DebugShowContentWithJSON(data interface{}, ops ...Option)
- type Option
- func WithSpecificOfBottomSpaceLine(number int) Option
- func WithSpecificOfFilename(filename string) Option
- func WithSpecificOfFormat(format bool) Option
- func WithSpecificOfLineNumber(lineNum bool) Option
- func WithSpecificOfShowType(typ bool) Option
- func WithSpecificOfVisual(visual bool) Option
- func WithSpecificOfWriteFile(writeFile bool) Option
Constants ¶
View Source
const (
DefaultWriteFileName = "mosso.txt"
)
Variables ¶
This section is empty.
Functions ¶
func DebugContentWithJSON ¶
DebugContentWithJSON Get debugging data information, which can be customized by option type method.
func DebugConvertInterfaceToJSONString ¶
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 WithSpecificOfFilename ¶ added in v1.1.0
func WithSpecificOfFormat ¶
func WithSpecificOfShowType ¶
func WithSpecificOfVisual ¶
func WithSpecificOfWriteFile ¶
Click to show internal directories.
Click to hide internal directories.