package
Version:
v0.0.0-...-a65e8f8
Opens a new window with list of versions in this module.
Published: Aug 5, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Coin struct {
Model
Ticker string `json:"ticker"`
Status string `json:"status"`
}
Coin Model
type Market struct {
Model
Market string `json:"market"`
BaseMarket string `json:"basemarket"`
Status string `json:"status"`
}
Market model
type Model struct {
ID uuid.UUID `json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
SkipValidation bool `gorm:"-" json:"-"`
}
Model type for those models that will be persisted
Source Files
¶
Click to show internal directories.
Click to hide internal directories.