output

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 4 Imported by: 3

Documentation

Overview

package output contains helpers to make results of odds calculation JSON friendly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OddsDetails added in v0.5.0

type OddsDetails map[string]float64

func New added in v0.5.0

func New(odds posterior.Odds, cl string) OddsDetails

func (OddsDetails) MarshalJSON added in v0.5.0

func (od OddsDetails) MarshalJSON() ([]byte, error)

func (OddsDetails) UnmarshalJSON added in v0.5.0

func (od OddsDetails) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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