acceptance

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acceptance

type Acceptance string
const (
	OnlyMen     Acceptance = "only_men"
	MenAndWomen Acceptance = "men_and_women"
	OnlyWomen   Acceptance = "only_women"
)

func GetAcceptanceByProbability

func GetAcceptanceByProbability(onlyMen, menAndWomen, onlyWomen float64) (Acceptance, error)

func SelectAcceptanceByMostRecent added in v0.2.11

func SelectAcceptanceByMostRecent(in []Acceptance) (Acceptance, error)

func (Acceptance) String

func (a Acceptance) String() string

Jump to

Keyboard shortcuts

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