Explore >> Select a destination


You are here

blog.carlana.net
| | dmitryfrank.com
2.7 parsecs away

Travel
| | [AI summary] The blog post discusses improving error handling in Go projects by using the juju/errors package to annotate errors with context, enhancing readability and debugging, while also addressing compatibility issues with external code and internal error handling strategies.
| | alexrichey.com
1.8 parsecs away

Travel
| | A pattern for distinguishing and handling client and internal errors in Go that leverages the power of Go's interfaces.
| | benhoyt.com
3.0 parsecs away

Travel
| | My re-implementation of the code from the official Go tutorial 'Developing a RESTful API with Go and Gin', using only the standard library, adding tests, and fixing issues.
| | lanie.dev
17.5 parsecs away

Travel
| So you want to parse a form. You have your handler, and you're getting data passed in through the request. 1 2 3 4 5 package example func Login(w http.ResponseWriter, r *http.Request) { // hi (: } The next step is to parse the form on the request. 1 2 3 4 5 6 func Login(w http.ResponseWriter, r *http.Request) { var err error if err := r.