Documentation ¶
Index ¶
- type Application
- type Contacts
- type Groups
- type Option
- func WithCollectionFile(file string) Option
- func WithDryRun(dryRun bool) Option
- func WithFileExtension(fileExtension string) Option
- func WithMembershipsAsTag(memberShipsAsTag string) Option
- func WithPathForFiles(pathForFiles string) Option
- func WithPathToContacts(pathToContacts string) Option
- func WithPathToGroups(pathToGroups string) Option
- func WithTagPrefix(prefix string) Option
- func WithTemplateDirectory(templateDirectory string) Option
- func WithTemplateGroup(templateGroup string) Option
- func WithVerbose(verbose bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application is the root of the functionality except some infrastructure stuff
func NewApplication ¶
func NewApplication(opts ...Option) (*Application, error)
NewApplication returns the app root
type Groups ¶
type Groups []types.ContactGroup
type Option ¶
type Option func(application *Application) error
func WithCollectionFile ¶
func WithDryRun ¶
func WithFileExtension ¶
func WithMembershipsAsTag ¶
func WithPathForFiles ¶
func WithPathToContacts ¶
func WithPathToGroups ¶
func WithTagPrefix ¶
func WithTemplateDirectory ¶
func WithTemplateGroup ¶
func WithVerbose ¶
Click to show internal directories.
Click to hide internal directories.