xiren

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 11 Imported by: 12 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

pulsar

盘古框架Pulsar集成,提供最简单的API以及丰富的功能,包括

  • 更友好的API
  • 序列化和反序列化
    • JSON
    • Protobuf
    • Msgpack
    • XML
  • 一切皆可配置
  • 多集群

感谢

jetbrains-variant-4.png

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lang added in v0.0.3

func Lang(lang string) *optionLang

Lang 语言

func Localization

func Localization(lang string, errs validator.ValidationErrors) (err error)

Localization 取得本地化错误信息

func New

func New() *validator.Validate

New 创建新的验证器

func Struct

func Struct(obj interface{}, opts ...option) (err error)

Struct 验证结构体

func Var

func Var(field interface{}, tag string, opts ...option) (err error)

Var 验证变量

Types

This section is empty.

Jump to

Keyboard shortcuts

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