Versions in this module Expand all Collapse all v0 v0.8.0 Nov 20, 2022 Changes in this version + func CommentCon(source []bug.Comment, edgeMaker CommentEdgeMaker, conMaker CommentConMaker, ...) (*models.CommentConnection, error) + func CursorToOffset(cursor string) (int, error) + func IdentityCon(source []models.IdentityWrapper, edgeMaker IdentityEdgeMaker, ...) (*models.IdentityConnection, error) + func LabelCon(source []bug.Label, edgeMaker LabelEdgeMaker, conMaker LabelConMaker, ...) (*models.LabelConnection, error) + func LazyBugCon(source []entity.Id, edgeMaker LazyBugEdgeMaker, conMaker LazyBugConMaker, ...) (*models.BugConnection, error) + func LazyIdentityCon(source []entity.Id, edgeMaker LazyIdentityEdgeMaker, ...) (*models.IdentityConnection, error) + func OffsetToCursor(offset int) string + func OperationCon(source []dag.Operation, edgeMaker OperationEdgeMaker, ...) (*models.OperationConnection, error) + func TimelineItemCon(source []bug.TimelineItem, edgeMaker TimelineItemEdgeMaker, ...) (*models.TimelineItemConnection, error) + type CommentConMaker func(edges []*models.CommentEdge, nodes []bug.Comment, info *models.PageInfo, ...) (*models.CommentConnection, error) + type CommentEdgeMaker func(value bug.Comment, offset int) Edge + type ConnectionType generic.Type + func NameCon(source []NodeType, edgeMaker NameEdgeMaker, conMaker NameConMaker, ...) (*ConnectionType, error) + type Edge interface + GetCursor func() string + type EdgeType generic.Type + type IdentityConMaker func(edges []*models.IdentityEdge, nodes []models.IdentityWrapper, ...) (*models.IdentityConnection, error) + type IdentityEdgeMaker func(value models.IdentityWrapper, offset int) Edge + type LabelConMaker func(edges []*models.LabelEdge, nodes []bug.Label, info *models.PageInfo, ...) (*models.LabelConnection, error) + type LabelEdgeMaker func(value bug.Label, offset int) Edge + type LazyBugConMaker func(edges []*LazyBugEdge, nodes []entity.Id, info *models.PageInfo, totalCount int) (*models.BugConnection, error) + type LazyBugEdge struct + Cursor string + Id entity.Id + func (lbe LazyBugEdge) GetCursor() string + type LazyBugEdgeMaker func(value entity.Id, offset int) Edge + type LazyIdentityConMaker func(edges []*LazyIdentityEdge, nodes []entity.Id, info *models.PageInfo, ...) (*models.IdentityConnection, error) + type LazyIdentityEdge struct + Cursor string + Id entity.Id + func (lbe LazyIdentityEdge) GetCursor() string + type LazyIdentityEdgeMaker func(value entity.Id, offset int) Edge + type Name generic.Type + type NameConMaker func(edges []*EdgeType, nodes []NodeType, info *models.PageInfo, totalCount int) (*ConnectionType, error) + type NameEdgeMaker func(value NodeType, offset int) Edge + type NodeType generic.Type + type OperationConMaker func(edges []*models.OperationEdge, nodes []dag.Operation, info *models.PageInfo, ...) (*models.OperationConnection, error) + type OperationEdgeMaker func(value dag.Operation, offset int) Edge + type TimelineItemConMaker func(edges []*models.TimelineItemEdge, nodes []bug.TimelineItem, ...) (*models.TimelineItemConnection, error) + type TimelineItemEdgeMaker func(value bug.TimelineItem, offset int) Edge