Commit graph

14 commits

Author SHA1 Message Date
ffb714532b Update golang.org/x/sys digest to 3183198
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-01 22:00:23 -05:00
e6f5140ed8 Update golang.org/x/sys digest to 179beb0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-01 18:00:27 -05:00
adef5607af Update module github.com/lucas-clemente/quic-go to v0.28.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-01 16:00:24 -05:00
b86f621581 Update golang.org/x/net digest to 69896b7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-30 17:00:22 -05:00
5035898c13
Add a LICENSE
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-29 23:12:30 +02:00
5fab5a08a7 Update module github.com/stretchr/testify to v1.8.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-29 06:00:21 -05:00
4754097a40 Update module github.com/urfave/cli/v2 to v2.10.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-27 21:00:34 -05:00
68c3345e9b Update module github.com/stretchr/testify to v1.7.5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-27 20:00:21 -05:00
c0c5eb4a06 Update golang.org/x/net digest to 1bab6f3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-24 18:00:22 -05:00
bf06f7a3aa
I am still somehow getting paid to do this
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-23 23:12:48 +02:00
027514b4cc Update golang.org/x/net digest to 263ec57 2022-06-23 07:29:27 +00:00
160c89ca1e
I got paid to write this 2022-06-22 22:59:17 +02:00
9b979667d6 Make everything more readable (#2)
1. I made JSON print indented instead of inline
2. I created a util package and moved `ReverseDNS` and `ResolveHTTPS` there
3. I created a new struct called Answers where all variables for the output live now, and adjusted the response struct to have the Answers struct in it. This lets us reuse the struct more instead of having variables floating around, lets us make the response more custom, offers more understandable code reuse, and makes things (I think) more readable.

Aside: you will notice the struct has little json defs. This is because struct values encode as JSON objects and can preserve the output name this way

Most of this just makes expanding on awl easier in the future.

Co-authored-by: grumbulon <grumbulon@dismail.de>
Reviewed-on: #2
Co-authored-by: grumbulon <grumbulon@grumbulon.xyz>
Co-committed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-06-22 11:55:38 +00:00
50d7b9dc2a
Rewrite in Go :^)
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-06-21 22:54:50 +02:00