golang/go
View on GitHub ↗ ★ 139,735 Go
The Go programming language
1,947 mentions on Hacker News by 1,181 people: 291 stories, 1,656 comments · first 2014-12-08 · latest 2026-10-22
20082026
-
▲ 7
Go: Location interprets wrong timezone (DST) with slim zoneinfostory by sethammons · 2020-10-28 · 1 comment
-
▲ 2
Proposal: Go 2 error handling with “pass” keywordstory by bitt · 2020-10-28 · 0 comments
-
▲ 1
NoPlusOne – Golang/Go Wikistory by gitgud · 2020-10-15 · 0 comments
-
▲ 1
Make.bash: drop bash as a build dependency · Issue #41698 · Golang/gostory by todsacerdoti · 2020-10-14 · 0 comments
-
▲ 1
Go might support converting a slice []T to an array pointer *[N]T soonstory by tapirl · 2020-10-10 · 0 comments
-
https://github.com/golang/go/issues/29621
comment by 1vuio0pswjnm7 · 2020-10-09 · in Chrome is deploying HTTP/3 and IETF QUIC -
See https://github.com/golang/go/issues/29036 which is still open.
comment by earthboundkid · 2020-10-03 · in Python typosquatting is about more than typos -
Like that dude who had a go project that bowled over by Google Golang E: found it! https://github.com/golang/go/issues/9
comment by edoceo · 2020-10-01 · in Kitty – A fast, featureful, GPU based terminal emulator -
…Apple's libc. That's right. In fact this was a source of a time-related bug in Go on Mac OS. https://github.com/golang/go/issues/17490 https://github.com/golang/go/issues/16570
comment by asdfasgasdgasdg · 2020-09-27 · in Is the C runtime and library a legitimate part of the Unix API? (2017) -
…you can't exploit this if I link you to a traefik configured in this way you refuse to run it. [0]: https://github.com/golang/go/issues/1435
comment by TheDong · 2020-09-25 · in Traefik, Now With Native Go Plugins -
Other comments in this sub-topic: An example - https://github.com/golang/go/issues/41467#issuecomment-69804... A fix - https://github.com/golang/go/issues/41467#issuecomment-69689... A clarification - https://github.com/golang/go/issues/414…
comment by networkimprov · 2020-09-25 · in The Go os.File.ReadDir() proposal is broken -
▲ 2
The Go os.File.ReadDir() proposal is brokenstory by networkimprov · 2020-09-25 · 1 comment
-
From the README in the repo: "This repo is a fork of the Go repo ( https://github.com/golang/go ). Nearly all of Biscuit's code is in biscuit/." From one of the linked papers: "Biscuit has nearly 28 thousand lines of Go, 1546 lines of…
comment by tomku · 2020-09-23 · in Biscuit: A monolithic, POSIX-subset operating system kernel in Go -
This looks promising, but has a major gap -- it can produce different results on various filesystems. https://github.com/golang/go/issues/41467#issuecomment-69689...
comment by networkimprov · 2020-09-23 · in Go proposal: os.File.ReadDir() for lightweight directory reading -
▲ 2
Go proposal: os.File.ReadDir() for lightweight directory readingstory by networkimprov · 2020-09-23 · 1 comment
-
…is URIs (which can be javascript: or data:), which Golang's html/template correctly escapes: https://github.com/golang/go/blob/master/src/html/template/u...
comment by EE84M3i · 2020-09-22 · in Maud: Compile-time HTML templates for Rust -
…in particular like Rust has a standard formatter. https://google.github.io/styleguide/cppguide.html https://github.com/golang/go/wiki/CodeReviewComments
comment by dodobirdlord · 2020-09-21 · in Why Not Rust? -
…well-established standards of use Here are some companies that may disagree with the author: https://github.com/golang/go/wiki/GoUsers
comment by lioeters · 2020-09-19 · in Golang Is Not Ready for Enterprise Systems yet and Here’s Why -
…the BEAM: https://github.com/erlang/otp/blob/master/erts/emulator/beam... On the Go side, check out https://github.com/golang/go/tree/master/src/runtime/proc.go and the asm* implementations. It's been a little while since I looked at it,…
comment by tokenrove · 2020-09-11 · in Scaling Erlang Developer Experience at WhatsApp [pdf] -
▲ 18
The Official Go Modules Documentationstory by clockworksoul · 2020-09-11 · 3 comments
-
…enough. Somewhere in the comments someone mentioned that "the actual info" on modules is here: https://github.com/golang/go/wiki/Modules which is slightly better but for some reason isn't in the official docs, and also basically brushes…
comment by dmitriid · 2020-09-10 · in Go modules have a v2+ problem -
…code" https://golang.org/doc/code.html , have been writing loads of reference material (follow in https://github.com/golang/go/issues/33637 ), have several tutorials on the way, are thinking and talking about a "cheatsheet", are building…
comment by deklerk · 2020-09-10 · in Go modules have a v2+ problem -
…What? I solved it by looking through this issue that comes at the top of Google Search for it: https://github.com/golang/go/issues/35732
comment by dmitriid · 2020-09-10 · in Go modules have a v2+ problem -
Most likely people don't know where the doc is, Go documentation for module is excellent: https://github.com/golang/go/wiki/Modules
comment by Thaxll · 2020-09-10 · in Go modules have a v2+ problem -
…or v1.5.0-rc.1. The leading v is required. If using Git, tag released commits with their versions https://github.com/golang/go/wiki/Modules#modules (I find this reference exceedingly helpful, and wish it were somewhere more official than…
comment by llimllib · 2020-09-10 · in Go modules have a v2+ problem -
▲ 4
Go Generic Examples from Go Teamstory by undefinednull · 2020-09-06 · 0 comments
-
…be a single letter (i, r). More unusual things and global variables need more descriptive names." https://github.com/golang/go/wiki/CodeReviewComments#variabl...
comment by Cthulhu_ · 2020-08-31 · in How to Write Unmaintainable Code (2003) -
…in the standard library after a server I wrote oddly kept eternally open-connections[1]. [1] https://github.com/golang/go/issues/213
comment by dvt · 2020-08-31 · in An interesting mistake with Go's context package -
…taking context.Context. The new FS API proposal makes no mention of deadlines or contexts. [2] [1] https://github.com/golang/go/issues/41054 [2] https://github.com/golang/go/issues/5636#issuecomment-661926...
comment by networkimprov · 2020-08-30 · in An interesting mistake with Go's context package -
▲ 1
Generics Examples by the Go Teamstory by atombender · 2020-08-29 · 0 comments
-
…[1] Go supports timeouts on network & file read/write ops, which can be used to interrupt them. [1] https://github.com/golang/go/issues/41054
comment by networkimprov · 2020-08-29 · in Don't trust default timeouts -
https://github.com/golang/go/blob/dev.go2go/src/cmd/go2go/te... A general question. Is there a reason to add those arguments instead of just using them directly inside the goroutine and so passing the arguments implicitly?
comment by DelightOne · 2020-08-29 · in I thought I would have accomplished a lot more today and also before I was 35 -
…There's a whole page of these "tricks" that are necessary to perform basic operations on slices: https://github.com/golang/go/wiki/SliceTricks
comment by pansa2 · 2020-08-28 · in New case studies about Google’s use of Go -
▲ 2
Golang bug: for range loop reading past slice endstory by vecio · 2020-08-17 · 0 comments
-
…talking about TLS certs, WAF and other concerns that also may bring nginx etc on board anyhow. [1] https://github.com/golang/go/issues/16100
comment by clon · 2020-08-14 · in What's new in PHP 8? -
▲ 3
Golang proposal: switch to a register-based calling conventionstory by pjf · 2020-08-12 · 0 comments
-
…and I am thrilled about it and what it means for keeping the Go X.509 ecosystem modern and secure. https://github.com/golang/go/issues/39568#issuecomment-67142... crypto/tls Configs now have a spiffy VerifyConnection callback that runs for…
comment by FiloSottile · 2020-08-11 · in Go 1.15 Released -
…. Official blog post: https://blog.golang.org/go1.15 . Some fixes already planned for Go 1.15.1: https://github.com/golang/go/milestone/162 .
comment by ainar-g · 2020-08-11 · in Go 1.15 Released -
…om/r/golang/comments/hv976o/qa_iofs_draf... It was prompted by this proposal for os.Readdirentries(): https://github.com/golang/go/issues/40352 It seems to me that FileInfo isn't a suitable interface for either a general filesystem…
comment by networkimprov · 2020-08-06 · in File System Interfaces for Go – Draft Design -
They are aware: https://github.com/golang/go/issues/16399 Seems like they postponed incorporating fastwalk into the standard library because it would break API: https://godoc.org/golang.org/x/tools/internal/fastwalk Perhaps until then one…
comment by hu3 · 2020-08-05 · in File System Interfaces for Go – Draft Design -
There is a proposal to replace os.Readdir() here: https://github.com/golang/go/issues/40352
comment by networkimprov · 2020-08-05 · in File System Interfaces for Go – Draft Design -
…being considered now after ideas matured in the community and people developed ways around it (see https://github.com/golang/go/issues/35950 ). The outcome will probably be something that will be robust and stable and once in the language…
comment by henvic · 2020-08-05 · in File System Interfaces for Go – Draft Design -
I think the first page of the commit history ( https://github.com/golang/go/commits/master?after=f235275097... ) is a little better
comment by msingle · 2020-08-05 · in First Git commit 19 July 1972 -
▲ 2
First Git commit 19 July 1972story by todotask · 2020-08-05 · 1 comment
-
…tag, but that was abandoned because a lot of code hosting sites would not have been supported yet: https://github.com/golang/go/issues/39559 https://github.com/golang/go/issues/40477 That is why they decided to turn it into an…
comment by throwayws · 2020-08-02 · in Pkg.go.dev is more concerned with Google's interests than good engineering -
> Anyway it seems that the repo was not added to pkg.dev automatically: > > https://github.com/golang/go/issues/38326 The way this works (or rather, worked) is that you first need to "go get" a module and then it gets picked up by the…
comment by arp242 · 2020-08-01 · in Pkg.go.dev is more concerned with Google's interests than good engineering -
…Did somebody look into why? Anyway it seems that the repo was not added to pkg.dev automatically: https://github.com/golang/go/issues/38326 and the automatic fetching should work now: https://github.com/golang/go/issues/37002
comment by throwayws · 2020-08-01 · in Pkg.go.dev is more concerned with Google's interests than good engineering -
…have repeatedly stated that its type system being very limited is intentional. See e.g. here: https://github.com/golang/go/issues/29649#issuecomment-45482... TBH, sometimes I wonder why they bothered with static typing at all...
comment by dahauns · 2020-07-25 · in Cold Showers: For when people get too hyped up about things -
…in; it doesn't have much cleverness so most code is instantly readable. Take a random file from https://github.com/golang/go/tree/master/src and any developer will understand it and be able to make changes. They optimized the language for…
comment by Cthulhu_ · 2020-07-24 · in Go command support for embedded static assets (files) -
…a 3rd party site, and this issue is still open [#16922 doc: document assembly calling convention]( https://github.com/golang/go/issues/16922 ) btw the source i linked in my original comment links to a proposal to allow passing args in…
comment by uryga · 2020-07-22 · in Life without line numbers for 6% smaller Go binaries