Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expenditure ¶
type Expenditure struct { gorm.Model Amount float64 `gorm:"not null"` Date time.Time `gorm:"not null"` Category *Category `gorm:"ForeignKey:CategoryID"` CategoryID uint }
Expenditure represents a single expenditure.
type NullFloat64 ¶
type NullFloat64 struct {
sql.NullFloat64
}
func (NullFloat64) MarshalJSON ¶
func (v NullFloat64) MarshalJSON() ([]byte, error)
func (*NullFloat64) Set ¶
func (v *NullFloat64) Set(data float64)
func (*NullFloat64) UnmarshalJSON ¶
func (v *NullFloat64) UnmarshalJSON(data []byte) error
type NullString ¶
type NullString struct {
sql.NullString
}
func (NullString) MarshalJSON ¶
func (v NullString) MarshalJSON() ([]byte, error)
func (*NullString) Set ¶
func (v *NullString) Set(data string)
func (*NullString) UnmarshalJSON ¶
func (v *NullString) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.