langs

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 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 Lang

type Lang map[string]string
var EN Lang = Lang{
	"log not found":         "log not found",
	"id not found":          "id not found",
	"state error":           "state error",
	"not support {{.Type}}": "not support {{.Type}}",
	"forbidden":             "forbidden",
}
var ZH Lang = Lang{
	"log not found":         "日志未找到",
	"id not found":          "id 未找到",
	"state error":           "状态不正确",
	"not support {{.Type}}": "不支持该权限配置 {{.Type}}",
	"forbidden":             "没有操作权限",
}

func (*Lang) Bytes

func (l *Lang) Bytes() []byte

Jump to

Keyboard shortcuts

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