msgKit

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 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