Tag: go
-
Exploring My Own Agent From Scratch
Ever since agents made it into mainstream, I’ve been really interested in how they work. I always want my own personal Jarvis and now I feel like I have the chance to build one on my own. At it’s score, it’s mechanics: a loop that observes input, decides what to do, acts, and repeats. At…
-
RoundTrip Logging Within Go’s http.Client
Ok so, let’s say you have an HTTP client where you need to get information from the request and response calls for logging or debugging reasons. One way to do this is to create a custom RoundTripper to handle said logging. What is a RoundTripper? A RoundTripper is an interface that implements the RoundTrip function…