model

package
v0.0.0-...-8561c97 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Candidates

type Candidates struct {
	N       int      `json:"n"`
	Members []string `json:"members"`
}

type Group

type Group struct {
	Members []string `json:"members"`
}

type GroupId

type GroupId struct {
	Id string
}

type IdentifiedGroups

type IdentifiedGroups struct {
	Id     string  `json:"id"`
	Groups []Group `json:"groups"`
}

func GetGroup

func GetGroup(id GroupId, datas infra.GroupingDatasource) (*IdentifiedGroups, error)

func Grouping

func Grouping(candidates Candidates, datas infra.GroupingDatasource) (*IdentifiedGroups, error)

Jump to

Keyboard shortcuts

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