resp

package
v0.0.0-...-c4fc964 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseFail

type BaseFail struct {
	Message string `json:"message,omitempty"`
	Success bool   `json:"success,omitempty"`
}

func Fail

func Fail(msg string) BaseFail

func FailUnknown

func FailUnknown() BaseFail

func Failf

func Failf(msg string, args ...any) BaseFail

func Ok

func Ok(msg string) BaseFail

func Okf

func Okf(msg string, args ...any) BaseFail

type BaseOk

type BaseOk struct {
	Message string `json:"message,omitempty"`
	Success bool   `json:"success,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳