Discover Packages
github.com/jjonline/i18n-stringer/example
lang
package
Version:
v0.0.0-...-7e3a9cd
Opens a new window with list of versions in this module.
Published: Apr 29, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
ErrorCode Define a custom shaping type that supports i18n as an error code
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.