parseInput

package
v0.0.0-...-5f5806c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2020 License: BSD-2-Clause, GPL-3.0, MIT Imports: 9 Imported by: 0

Documentation

Overview

Import and export to/from the GroupMatcher (*.gm) format

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatGroupsAndPersons

func FormatGroupsAndPersons(groups []*matching.Group, persons []*matching.Person) (string, error)

Converts the current groups and persons (of package matcher) into a string in .gm syntax.

func FormatGroupsAndPersonsToExcel

func FormatGroupsAndPersonsToExcel(groups []*matching.Group, persons []*matching.Person, l map[string]string, printTotal bool) (*xlsx.File, error)

Converts the current groups and persons (of package matcher) into a .xlsx document and saves into the project folder

func ParseGroupsAndPersons

func ParseGroupsAndPersons(data io.Reader) ([]*matching.Group, []*matching.Person, error)

Converts the imported data into slices of groups and persons (package matcher).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL