Commit graph

3 commits

Author SHA1 Message Date
d93eccc064
feat: RFC-8427 (#171)
All checks were successful
continuous-integration/drone/push Build is passing
This PR will make the JSON response body be based off [RFC-8427](https://www.rfc-editor.org/rfc/rfc8427.html) which will be similar to [kdig's](https://www.knot-dns.cz/docs/2.6/html/man_kdig.html) JSON output.

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #171
Reviewed-by: Sam Therapy <sam@samtherapy.net>
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-27 20:07:09 +00:00
792ddecf6c
fix(print): use any on TTL (#169)
All checks were successful
continuous-integration/drone/push Build is passing
This allows JSON to use either an int or string depending on output

Reviewed-on: #169
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-12-15 19:30:01 +00:00
3a0a8f015a chore(Refactor) (#110)
All checks were successful
continuous-integration/drone/push Build is passing
refactor

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #110
Reviewed-by: Sam <sam@samtherapy.net>
2022-09-24 23:11:09 +00:00
Renamed from query/struct.go (Browse further)