Discover Packages
github.com/afonsolopez/bills
models
package
Version:
v0.0.0-...-066eb12
Opens a new window with list of versions in this module.
Published: May 24, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type BigNumbers struct {
RemainingDays int `json:"remainingDays"`
Total float64 `json:"total"`
}
type Bill struct {
Id int `json:"id"`
Title string `json:"title"`
Price float64 `json:"price"`
Company string `json:"company"`
Tag string `json:"tag"`
TimeStamp time .Time `json:"timeStamp"`
}
type BillID struct {
ID uint `json:"id"`
}
type Bills struct {
ID uint `json:"id"`
Title string `json:"title"`
Price float64 `json:"price"`
CompanyID uint `json:"company_id"`
TagID uint `json:"tag_id"`
DateID uint `json:"date_id"`
}
type ByDay struct {
TimeStamp string `json:"time_stamp"`
Total float64 `json:"total"`
}
type ByTag struct {
Tag string `json:"tag"`
Total float64 `json:"total"`
}
type Companies struct {
ID uint `json:"value"`
Name string `json:"label"`
}
type DateQuery struct {
Month string `json:"month"`
Year string `json:"year"`
}
type Dates struct {
ID uint `json:"id"`
TimeStamp time .Time `json:"time_stamp"`
}
type MonthSelector struct {
Month string `json:"month"`
}
type Res struct {
Title string `json:"title"`
Price string `json:"price"`
IsNewCompany bool `json:"isnewCompany"`
Company string `json:"company"`
IsNewTag bool `json:"isNewTag"`
Tag string `json:"tag"`
Date string `json:"date"`
}
type Tags struct {
ID uint `json:"value"`
Name string `json:"label"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.