Documentation ¶ Index ¶ func NewDatum() data.Datum func Type() string type Blood func Init() *Blood func New() *Blood func (b *Blood) Init() func (b *Blood) Normalize(normalizer data.Normalizer) error func (b *Blood) Parse(parser data.ObjectParser) error func (b *Blood) Validate(validator data.Validator) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDatum ¶ func NewDatum() data.Datum func Type ¶ func Type() string Types ¶ type Blood ¶ type Blood struct { base.Base `bson:",inline"` Value *float64 `json:"value,omitempty" bson:"value,omitempty"` Units *string `json:"units,omitempty" bson:"units,omitempty"` } func Init ¶ func Init() *Blood func New ¶ func New() *Blood func (*Blood) Init ¶ func (b *Blood) Init() func (*Blood) Normalize ¶ func (b *Blood) Normalize(normalizer data.Normalizer) error func (*Blood) Parse ¶ func (b *Blood) Parse(parser data.ObjectParser) error func (*Blood) Validate ¶ func (b *Blood) Validate(validator data.Validator) error Source Files ¶ View all Source files blood_ketone.go Click to show internal directories. Click to hide internal directories.