mapper

package
v0.0.0-...-52a4c51 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reduce

func Reduce(all []gobgg.ThingResult, reducers ...Reducer) []gobgg.ThingResult

func Sort

func Sort(all []gobgg.ThingResult, comparator Less)

Types

type Less

type Less = func(thing1, thing2 *gobgg.ThingResult) bool

func ComparatorPlayerCount

func ComparatorPlayerCount(pl int) Less

type Reducer

type Reducer = func(thing *gobgg.ThingResult) bool

func OnlyBoardGame

func OnlyBoardGame() Reducer

func RecommendedFor

func RecommendedFor(pl int) Reducer

It means it is not "not recommended"

func WeightReducer

func WeightReducer(min, max int) Reducer

Jump to

Keyboard shortcuts

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