msgKit

package
v1.3.12 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMsg

func GetMsg(code string) string

func Read

func Read(data []byte, fileType string) error

func ReadFile

func ReadFile(filePath string) error

ReadFile 读取message文件,加到 msgMap 中.

@param filePath 建议是 .properties后缀 的文件

func UpdateMsgMap

func UpdateMsgMap(m map[string]string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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