lang

package
v0.0.0-...-7e3a9cd Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorCode

type ErrorCode uint

ErrorCode Define a custom shaping type that supports i18n as an error code

const (
	ComUserName ErrorCode = 10000 + iota
	ComUserPwd
)

Specify the error code of a part of the range as the replacement value content of the formatted output NOTE: The range 10000 to 20000 is used as a formatted output replacement component

const (
	Ok ErrorCode = 20000 + iota
	UserLoginInvalid
	MerchantLoginInvalid
	SubDirectoryTest
)

Assign error code value range

Jump to

Keyboard shortcuts

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