You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package IdCardUtil
|
|
|
|
import (
|
|
"github.com/bluesky335/IDCheck/IdNumber"
|
|
)
|
|
|
|
|
|
// Check IdCard number valid.
|
|
func IsValidIdCardNo(IdCardNo *[]byte) bool {
|
|
var id = IdNumber.New(string(*IdCardNo))
|
|
return id.IsValid()
|
|
}
|