CoreCurrency

package
v5.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckID

func CheckID(id int) error

CheckID 检查是否支持

func CheckMark

func CheckMark(mark string) error

CheckMark 检查标识码是否正确存在

func GetID

func GetID(mark string) int

GetID 获取ID

func GetMarkByID

func GetMarkByID(id int) string

GetMarkByID 通过ID获取标识码

func GetName

func GetName(mark string) string

GetName 获取某个标识码的名称

Types

type DataCurrencyType

type DataCurrencyType struct {
	//数字编码
	ID int
	//英文标识码,国际通用
	Mark string
	//名称
	Name string
}

Jump to

Keyboard shortcuts

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