Versions in this module Expand all Collapse all v0 v0.0.2 Jun 9, 2025 v0.0.1 Jun 9, 2025 Changes in this version + func FakeId() string + func FakeRequireId(isEighteen bool, address string, birthday string, sex int) string + func IsLooseValid(id string) bool + func IsStrictValid(id string) bool + func IsValid(id string, strict bool) bool + func IsValidBasic(id string) bool + func IsValidButAds(id string, strict bool, ignoreAdErr bool) bool + func UpgradeId(id string) (string, error) + type BasicIdInfo struct + Birthday time.Time + CheckBit string + ChineseZodiac string + Constellation string + Length int + Sex int + func GetBasicInfo(id string) (BasicIdInfo, error) + type IdInfo struct + Abandoned int + Address string + AddressCode int + AddressTree []string + Birthday time.Time + CheckBit string + ChineseZodiac string + Constellation string + Length int + Sex int + func GetInfo(id string, strict bool) (IdInfo, error)