res

package
v0.0.0-...-39e3969 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Failed

func Failed(message string, codes ...interface{}) *boot.Response

Failed 用法如下:

  1. Failed("系统繁忙")
  2. Failed("繁忙", 业务代码(1000))

func OK

func OK(data interface{}, msg ...string) *boot.Response

Types

This section is empty.

Jump to

Keyboard shortcuts

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