pb

package
v0.0.0-...-b105b8e Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional bool crud = 1000;
	E_Crud = &file_service_proto_extTypes[0]
)

Extension fields to descriptor.MessageOptions.

View Source
var File_service_proto protoreflect.FileDescriptor

Functions

func I18n

func I18n(msg string, lang language.Tag) string

func I18nStrBetween

func I18nStrBetween(msg string, lang *language.Tag) string

func ProcessValidationError

func ProcessValidationError(err error, tag language.Tag) error

func StrBetween

func StrBetween(min, max int, lang *language.Tag) string

Types

type Err

type Err interface {
	Field() string
	Reason() string
	Key() bool
	Cause() error
	ErrorName() string
}

type ListError

type ListError []error

func (ListError) Error

func (m ListError) Error() string

Jump to

Keyboard shortcuts

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