Documentation
¶
Overview ¶
Package gb32100 统一信用代码校验
GB32100—2015
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFormat = errors.New("无效的格式")
ErrInvalidFormat 格式错误
Functions ¶
Types ¶
type GB32100 ¶
type GB32100 struct {
Raw string
Ministry byte // 登记管理部门
Type byte // 类别
Region string // 区域信息,可参考 https://github.com/issue9/cnregion
ID string // 主体代码
}
func (*GB32100) MinistryName ¶
Click to show internal directories.
Click to hide internal directories.