Tag go

 Bookmark

Bookmarked Operational convergence, for REPL-less languages like Go — brandur.org
Post details
Life without a REPL, and how to still be able to manipulate production which even has quite a few benefits over more one-off REPL-driven operations..

Something I've been thinking about for an alternative to rails console for Go, and of course Brandur Leach has excellent thoughts about it

Recommended read: Operational convergence, for REPL-less languages like Go — brandur.org https://brandur.org/fragments/operational-convergence

 Like

Liked spf13 Google --> | spf13
Post details
I’m leaving my role as the Product Lead for the Go Language at Google. I’m super proud of everything the Go team has accomplished in the last six years, and I’ve never been more excited for Go’s future. Read on if you’re interested in what led me to my decision, what I’ll be doing next, and what I’ll miss about my time at Google. Go has been my passion for the past 10 years Ten years ago, I used Go for the first time.

 Like

Liked Go generics are not bad
Post details
When programming, we often need to write ‘generic’ functions where the exact data type is not important. For example, you might want to write a simple function that sums up numbers. Go lacked this notion until recently, but it was recently added (as of version 1.18). So I took it out for a spin. In … Continue reading Go generics are not bad

 Like

Liked Nicer struct literals in Go templates by Josh Bleecher Snyder 
Post details
Go templates (text/template, html/template) accept a single argument to render. That’s generally enough when you’re executing them from Go code. But when invoking a template from another template, you often want to pass multiple things to it. For example, we might have a template that renders a nav bar item. It requires a title, a url, and an “enabled” bool. We want to invoke it from another template. How do you do that?

 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.