From fdc01e28d9f45e923bdbc783f957e5b87f108659 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 21 Jan 2024 00:15:20 -0600 Subject: name changes in the gui package Signed-off-by: Jeff Carr --- problems.go | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'problems.go') diff --git a/problems.go b/problems.go index 12b2c44..f0c5ebb 100644 --- a/problems.go +++ b/problems.go @@ -1,7 +1,7 @@ // this defines the kinds of problems that can be detected package main -import ( +import ( "time" ) @@ -9,27 +9,27 @@ type ProblemType int type ActionType int type Problem struct { - kind ProblemType + kind ProblemType action ActionType - id int - Name string - desc string - value string - aaaa string - fixed bool + id int + Name string + desc string + value string + aaaa string + fixed bool duration time.Duration // how long until you should check to see if it's fixed - born time.Time // when first reported + 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 + 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 { - kind: RR, +var IPcreate = Problem{ + kind: RR, action: CREATE, - desc: "This RR entry in the zonefile needs to be removed", + desc: "This RR entry in the zonefile needs to be removed", } /* -- cgit v1.2.3