package
Version:
v0.0.0-...-c3a3033
Opens a new window with list of versions in this module.
Published: Apr 19, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package document provides the document Types and a quick New for Documentation instances
BrazilContext refers to documents that are valid in Brazil
Cpf provides a brazilian Fiscal Id document
Generate creates a fake document
DocTypes Holds a map of string values for each Document type for easier usage.
Use the method New(docType string) to get a fake document
New receives the document string and resolve it's instance based on the DocTypes map
Set register a string to the Type of i
type Document interface {
Generate() Document
}
Document provides methods for generating a fake document
Source Files
¶
Click to show internal directories.
Click to hide internal directories.