Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNilINN try call methods for nil inn struct ErrNilINN = errors.New("nil inn struct") // ErrInvalidCheckSumsValue invalid check sums rune value ErrInvalidCheckSumsValue = errors.New("invalid check sums rune value") )
Functions ¶
func GeneratePhysical ¶
func GeneratePhysical() string
GeneratePhysical generate physical type inn string value
Types ¶
type INNStruct ¶
type INNStruct struct {
// contains filtered or unexported fields
}
func (*INNStruct) IsPhysical ¶ added in v0.1.4
type SerialNumber ¶ added in v0.1.4
type SerialNumber struct {
// contains filtered or unexported fields
}
func GenerateSerailNumber ¶ added in v0.1.4
func GenerateSerailNumber(innType INNType) SerialNumber
func (*SerialNumber) Ints ¶ added in v0.1.4
func (sn *SerialNumber) Ints() []int
func (SerialNumber) String ¶ added in v0.1.4
func (sn SerialNumber) String() string
Click to show internal directories.
Click to hide internal directories.