Documentation ¶
Overview ¶
*
- Common app structures
Index ¶
Constants ¶
View Source
const ( DB_DATETIME = "2006-01-02 15:04:05" CONTENT_JSON = "application/json" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CCPTime ¶
func (*CCPTime) UnmarshalJSON ¶
type CompHolder ¶
type CompHolder struct {
Items []CompItem `json:"items"`
}
type CompItem ¶
type CompItem struct { ID uint64 `db:"itemId" json:"id"` // StationID uint64 `db:"stationId" json:"station_id"` Name string `db:"name" json:"name"` MinSell float64 `db:"sMin" json:"sell_min"` MeanSell float64 `db:"sMean" json:"sell_mean"` MinBuy float64 `db:"bMin" json:"buy_min"` MeanBuy float64 `db:"bMean" json:"buy_mean"` MinRatio float64 `db:"rMin" json:"ratio_min"` MeanRatio float64 `db:"rMean" json:"ratio_mean"` }
Click to show internal directories.
Click to hide internal directories.