benefits

package
v0.0.0-...-d4bcb5e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Benefit

type Benefit struct {
	ID       string `json:"id"`
	Eligible bool   `json:"eligible"`
}

func CheckEligibility

func CheckEligibility(answers []models.Question) (benefitEligibility []Benefit, err error)

func (Benefit) IsEligible

func (benefit Benefit) IsEligible(answers []models.Question) (bool, error)

Jump to

Keyboard shortcuts

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