pipeline

package
v0.0.0-...-013fab3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline

type Pipeline struct {
	// contains filtered or unexported fields
}

func New

func New(logs []gacha.Log) *Pipeline

func (*Pipeline) Append

func (p *Pipeline) Append(logs ...gacha.Log)

func (*Pipeline) Contains

func (p *Pipeline) Contains(log gacha.Log) bool

func (*Pipeline) ContainsAny

func (p *Pipeline) ContainsAny(logs ...gacha.Log) bool

func (*Pipeline) FilterByRarity

func (p *Pipeline) FilterByRarity(rarities ...string) *Pipeline

func (*Pipeline) FilterBySharedWish

func (p *Pipeline) FilterBySharedWish(types ...gacha.Type) *Pipeline

func (*Pipeline) FilterByUID

func (p *Pipeline) FilterByUID(uid string) *Pipeline

func (*Pipeline) FilterByWish

func (p *Pipeline) FilterByWish(types ...gacha.Type) *Pipeline

func (*Pipeline) First

func (p *Pipeline) First() gacha.Log

func (*Pipeline) GroupBySharedWish

func (p *Pipeline) GroupBySharedWish() map[gacha.Type][]gacha.Log

func (*Pipeline) GroupByUID

func (p *Pipeline) GroupByUID() map[string][]gacha.Log

func (*Pipeline) IDAscending

func (p *Pipeline) IDAscending() bool

func (*Pipeline) IDDescending

func (p *Pipeline) IDDescending() bool

func (*Pipeline) Last

func (p *Pipeline) Last() gacha.Log

func (*Pipeline) Len

func (p *Pipeline) Len() int

func (*Pipeline) Logs

func (p *Pipeline) Logs() []gacha.Log

func (*Pipeline) Progress4Star

func (p *Pipeline) Progress4Star() int

func (*Pipeline) Progress5Star

func (p *Pipeline) Progress5Star() int

func (*Pipeline) Pulls4Stars

func (p *Pipeline) Pulls4Stars() map[string]int

func (*Pipeline) Pulls5Stars

func (p *Pipeline) Pulls5Stars() map[string]int

func (*Pipeline) Reverse

func (p *Pipeline) Reverse() *Pipeline

func (*Pipeline) SharedWishes

func (p *Pipeline) SharedWishes() []gacha.Type

func (*Pipeline) SortByIDAscending

func (p *Pipeline) SortByIDAscending() *Pipeline

func (*Pipeline) SortByIDDescending

func (p *Pipeline) SortByIDDescending() *Pipeline

func (*Pipeline) UIDs

func (p *Pipeline) UIDs() []string

func (*Pipeline) Unique

func (p *Pipeline) Unique() *Pipeline

Jump to

Keyboard shortcuts

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