diff options
| author | Jeff Carr <[email protected]> | 2024-01-10 20:22:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-10 20:22:25 -0600 |
| commit | f8df2d1ce33e8eb70a996775006b37419c5165a7 (patch) | |
| tree | 23e3106a95c352f4bfdb6b5f37096f5caffdce4c /problems.go | |
| parent | ad8a25d85f50dfe27dbefa5267749e61c0cb16b3 (diff) | |
autofix!v0.5.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'problems.go')
| -rw-r--r-- | problems.go | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/problems.go b/problems.go index 9a630ad..12b2c44 100644 --- a/problems.go +++ b/problems.go @@ -18,7 +18,12 @@ type Problem struct { value string aaaa string fixed bool - duration *time.Duration + duration time.Duration // how long until you should check to see if it's fixed + born time.Time // when first reported + + begun bool // weather or not fixing it has begun + begunTime time.Time // when the attempt to fix the problem happened + begunResult bool // weather or not the attempt worked } var IPcreate = Problem { @@ -62,9 +67,9 @@ func (s ProblemType) String() string { case RR: return "RR" default: - return "something" + return "FIXMEP" } - return "someprob" + return "FIXMEP" } func (s ActionType) String() string { @@ -76,7 +81,7 @@ func (s ActionType) String() string { case DELETE: return "DELETE" default: - return "something" + return "FIXMEA" } - return "someprob" + return "FIXMEA" } |
