common

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DemoErr

type DemoErr struct {
	// contains filtered or unexported fields
}

DemoErr ...

func GenErr

func GenErr(code errcode.RespCode, err error) *DemoErr

GenErr ...

func (*DemoErr) Code

func (dr *DemoErr) Code() int

Code ...

func (*DemoErr) Error

func (dr *DemoErr) Error() string

Error ...

Jump to

Keyboard shortcuts

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