Tag go

 Like

Liked Go: Tracing HTTP requests
Post details
The HTTP protocol is fast, secure, and reliable. However, it needs other protocols and services to work properly, and when things don’t go well it is necessary to have access to detailed information about the time spent in each step. The steps to make an HTTP call are as follows: DNS Lookup The client sends a DNS query to the DNS server. The DNS server responds with the IP for the name.

 Bookmark

Bookmarked testing-in-go by Ilija Eftimov 
Post details
Documenting my experiences and learnings, with the goal of helping other software engineers on their journey

Some really great posts here that have made it much easier for me to get started with Go!

Recommended read: Bookmark of https://ieftimov.com/categories/testing-in-go/ https://ieftimov.com/categories/testing-in-go/

 Note

Do I know anyone doing #Go that handles go get on their production API URL, and it then resolves the SDK with that base URL? I can see this being a fairly straightforward thing to do based on the ?go-get=1, but wondering how this would work for applications deployed to different environment, but built from the same source code 🤔

 Bookmark

Bookmarked Making a Golang Vanity URL by Jon Betti 
Post details
So, GitHub just got bought by Microsoft and this got me and a bunch of people thinking about the dependence of Go on GitHub as a piece of…

Recommended read: Making a Golang Vanity URL. So, GitHub just got bought by Microsoft… | by Jon Betti | Medium https://medium.com/@JonNRb/making-a-golang-vanity-url-f56d8eec5f6c

 Bookmark

Bookmarked Vanity URL for Go packages
Post details
Introduction If you have been working with Go programming language for a while, you would have noticed that a lot of open source packages that you import start with github.com/…. You would then use go get command to download the package and add it to your go.mod file. For instance: $ go get -u github.com/abvarun226/goiplookup What if you did not want this dependency on Github and rather wanted to host your own git server?

Recommended read: The Code Library | Vanity URL for Go packages https://ayada.dev/posts/vanity-url-for-go-packages/

 Note

Is there a standard way to do content-negotiation in #Go? Preferably not as part of a Web framework, but as a standalone library