sample

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunSample

func RunSample(index int)

RunSample run sample log message outputting.

func RunSampleStaticCall

func RunSampleStaticCall()

RunSampleStaticCall using static log functions.

func RunSampleWithHandler

func RunSampleWithHandler()

RunSampleWithHandler using a log handler.

Types

type ST

type ST struct {
	A string  `json:"a,omitempty"`
	B int64   `json:"b,omitempty"`
	C float64 `json:"c,omitempty"`
	D []byte  `json:"d,omitempty"`
}

ST is a sample struct to show json string printing

Jump to

Keyboard shortcuts

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