Add history description (#98)
Closes #20 Reviewed-on: #98
This commit was merged in pull request #98.
This commit is contained in:
@@ -14,12 +14,14 @@ type UserWithAllowance struct {
|
||||
}
|
||||
|
||||
type History struct {
|
||||
Allowance float64 `json:"allowance"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Allowance float64 `json:"allowance"`
|
||||
Timestamp time.Time `json:"timestamp"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
type PostHistory struct {
|
||||
Allowance float64 `json:"allowance"`
|
||||
Allowance float64 `json:"allowance"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
// Task represents a task in the system.
|
||||
|
||||
Reference in New Issue
Block a user