Documentation ¶
Index ¶
- func BindValidate(o interface{}) error
- func PairValues(i, o interface{}) error
- type StringNumber
- type Tools
- func (tool Tools) PrintPDF(name, callSign, band, templatePath, outPath, fileType string) error
- func (tool Tools) PrintPDFV2(name, callSign, band, templatePath, fileType string, w io.Writer) error
- func (tool Tools) PrintPDFV3(name, callSign, band, frequency, templatePath, fileType string, w io.Writer, ...) error
- func (tool Tools) PrintPDFV4(certNumber string, identity models.Identity, identityIndex int, ...) error
- func (tool Tools) RNDString(n int) string
- func (tool Tools) ReplaceRegex(b64url *string, b64 *string)
- func (tool Tools) SaveImageFromB64(b64 string, filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StringNumber ¶
type StringNumber struct {
// contains filtered or unexported fields
}
func (*StringNumber) NextValString ¶
func (s *StringNumber) NextValString() string
func (*StringNumber) SetCounter ¶
func (s *StringNumber) SetCounter(setCounterVal int)
func (*StringNumber) SetNDigit ¶
func (s *StringNumber) SetNDigit(digitVal int)
func (*StringNumber) ValString ¶
func (s *StringNumber) ValString(num int) string
type Tools ¶
type Tools struct{}
Tools type
func (Tools) PrintPDFV2 ¶
func (tool Tools) PrintPDFV2(name, callSign, band, templatePath, fileType string, w io.Writer) error
PrintPDFV2 method
func (Tools) PrintPDFV3 ¶
func (tool Tools) PrintPDFV3(name, callSign, band, frequency, templatePath, fileType string, w io.Writer, imageCertTemplate models.ImageCertTemplate) error
PrintPDFV3 method
func (Tools) PrintPDFV4 ¶
func (tool Tools) PrintPDFV4(certNumber string, identity models.Identity, identityIndex int, templatePath, fileType string, w io.Writer, imageCertTemplate models.ImageCertTemplate) error
PrintPDFV4 method
func (Tools) ReplaceRegex ¶
ReplaceRegex method
Click to show internal directories.
Click to hide internal directories.