package
Version:
v0.0.0-...-102d0bd
Opens a new window with list of versions in this module.
Published: Sep 21, 2024
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 Transaction struct {
ID uuid.UUID `json:"id"`
Status string `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Value float64 `json:"value" binding:"required"`
}
type TransactionLog struct {
TransactionID uuid.UUID `json:"transaction_id"`
Timestamp time.Time `json:"timestamp"`
Status string `json:"status"`
Value float64 `json:"value"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.