Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func HashPassword ¶
func VerifyPassword ¶
Types ¶
type Activity ¶
type Activity struct { ID uint `json:"activity_id" gorm:"primaryKey"` Action string `json:"action"` CryptoCode string `json:"crypto_code"` Currency string `json:"currency"` CryptoAmount float32 `json:"crypto_amount"` Money float32 `json:"money"` CreatedAt time.Time `json:"performed_at"` UserID uint `json:"user_id"` }
type ActivityGetAdapted ¶
type ActivityGetAdapted struct { ID string `json:"activity_id" gorm:"primaryKey"` Action string `json:"action"` CryptoCode string `json:"crypto_code"` Currency string `json:"currency"` CryptoAmount float32 `json:"crypto_amount"` Money float32 `json:"money"` CreatedAt time.Time `json:"performed_at"` UserID string `json:"user_id"` }
type ActivityPostAdapted ¶
type PatchActivity ¶
Click to show internal directories.
Click to hide internal directories.