package main
import (
"entrlcom.dev/imei"
)
func main() {
v, err := imei.NewIMEI("35-209900-176148-1")
if err != nil {
// TODO: Handle error.
return
}
_ = v.CD().String() // "1".
_ = v.IsIMEI() // true.
_ = v.IsIMEISV() // false.
_ = v.SNR().String() // "176148".
_ = v.String() // "35 209900 176148 1".
_ = v.SVN().IsZero() // true.
_ = v.TAC().RBI().String() // "35".
_ = v.TAC().ID() // "209900".
}
-
Notifications
You must be signed in to change notification settings - Fork 0
International Mobile Equipment Identity (IMEI)
License
entrlcom/go-imei
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
International Mobile Equipment Identity (IMEI)
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published