diff options
| author | s <[email protected]> | 2025-11-07 11:50:47 -0500 |
|---|---|---|
| committer | s <[email protected]> | 2025-11-07 11:50:47 -0500 |
| commit | 7d63867f365163f149db5d768c71f518f9eaf711 (patch) | |
| tree | f3f4856cf82f57286dee5bec23fae0c5f70bd1ee /internal/models | |
| parent | 5821aaa32e7ff2a2b2935bee712c2684907a3451 (diff) | |
| download | dborg-7d63867f365163f149db5d768c71f518f9eaf711.tar.gz dborg-7d63867f365163f149db5d768c71f518f9eaf711.zip | |
refactor: extract json output formatting to utils.PrintJSON and add colorized json output with new dns tld command
Diffstat (limited to 'internal/models')
| -rw-r--r-- | internal/models/dns.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/models/dns.go b/internal/models/dns.go new file mode 100644 index 0000000..b08d8ba --- /dev/null +++ b/internal/models/dns.go @@ -0,0 +1,12 @@ +package models + +type DNSTLDParams struct { + Term string +} + +type DomainResult struct { + Domain string `json:"domain"` + Status string `json:"status"` + Title string `json:"title,omitempty"` + Tech []string `json:"tech,omitempty"` +} |
