add output format option
This commit is contained in:
parent
070b771ddd
commit
234fb37b82
4 changed files with 84 additions and 22 deletions
|
|
@ -1,8 +1,8 @@
|
|||
package checker
|
||||
|
||||
type Domain struct {
|
||||
Name string
|
||||
DaysLeft float64
|
||||
Date string
|
||||
Failed bool
|
||||
Name string `json:"name"`
|
||||
DaysLeft float64 `json:"days"`
|
||||
Date string `json:"date"`
|
||||
Failed bool `json:"failed"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue