qdump

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MAX_RECURSION int = 100
)

Functions

func Dump

func Dump[O any](ctx context.Context, w http.ResponseWriter, req *http.Request, output O, err error)

func DumpError

func DumpError(w http.ResponseWriter, req *http.Request, err error, code int)

func FillNil

func FillNil[O any](ctx context.Context, ob O) (output O)

FillNil modifies the nil slice and maps it to an empty one, but this has side effects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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