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
Click to show internal directories.
Click to hide internal directories.