RSS 2025-12-06 03:02

Libraries

聚合自 go.dev 与社区精选源。

libraries

Golang’s Big Miss on Memory Arenas

submitted by [/u/brightlystar](https://www.reddit.com/user/brightlystar) [\[link\]](https://avittig.medium.com/golangs-big-miss-on-memory-arenas-f1375524cc90) [\[comments\]](https://www.reddit.com/r...

libraries

CGO noescape nocallback does they do anything?

I remember was hyped when these pragmas appeared, but does hey do anything? I still have entersyscall, exitsyscall ating considerable amount of time Like for 4s of total call time, I have 0.5s for ex...

libraries

How does for and range work together in golang?

Hello guys I am building a CLI tool and I was writing a function that iterates over an array of elements (strings) that hold a filepath and basically just a simple test I wanted to see if I am able at...

libraries

Practical Patterns for Go Iterators

submitted by [/u/fspj](https://www.reddit.com/user/fspj) [\[link\]](https://funnelstory.ai/blog/engineering/practical-patterns-for-go-iterators) [\[comments\]](https://www.reddit.com/r/golang/commen...

libraries

Our Go database is now faster than MySQL on sysbench

[![Our Go database is now faster than MySQL on sysbench](https://external-preview.redd.it/gqJoVpiq3Cvgcez4nK5Y8qlgzIMewmmYLDgBxcREws4.png?width=640&crop=smart&auto=webp&s=e4bebe3e702416685c74e3625d7c6...

libraries

Parse locally formatted numbers?

Is there a way to parse strings which contain locally formatted numbers to integer/float using the standard packages? With **message.Printer** I can format integer and float numbers to a locally form...

libraries

Suggest me some Beginner projects

I’m looking for some beginner-friendly Go projects that actually use concurrency in a meaningful way. No CRUD APIs, no load balancers, no Redis clones, no rate limiters. Also avoiding scrapers and por...

libraries

Handling SEO on Go backend + JS frontend

Hi everyone, sorry for this stupid question. Lately, Go has become my go-to language for backend development, but I still prefer to use a traditional JS framework for frontend. Now, I'm working on a...

libraries

Golang testing - best practices

I'm working on a small web app project, domain driven, each domain has handler/service/repo layer, using receiver method design, concrete structs with DI, all wired up in Main. Mono-repo containerised...

libraries

IPC options for Go-Flutter?

Hi Gophers! I'm building a Flutter desktop app and I decided to write the app's backend in Go because it is a bit faster than Dart for what I'm doing, and in the future if I decide to add a server sy...

libraries

[SELF PROMOTION] - Golang based trading framework

Hi all I'm quite excited to finally be at the stage I am comfortable sharing my project "Kronos" with the world, or at least the gophers that lurk on this subreddit. Over the last few months I've bee...

libraries

How many of you use ai tools like claude code etc...

What ai tools (like claude code, cursor, antygravity... ) do you use daily/sometimes and how You use it.... to speed up building software? Many people predict that in 1-2 years we will have so good A...

libraries

Animated 3D OBJ Wireframe Tutorial

[![Animated 3D OBJ Wireframe Tutorial](https://external-preview.redd.it/vQNngEK6mHICxBcjL8H42OXsLtEhKNNI1Tp_O5IgyjA.png?width=320&crop=smart&auto=webp&s=29613fe4b9e0876ffa1e7a9ed877b23a3440445a "Anima...

libraries

Quick reference cheatsheet for Go developers

Hey gophers! I recently finished building this concise cheatsheet focused on Go fundamentals and patterns. It's currently under development, and I designed it to be a quick reference for things like...

libraries

Getting permissions errors on MacOS

I recently bought a MacBook that I use almost exclusively for writing and running code, mostly in go. Everything was working just fine until today. I haven't used my macbook in about a week. Today I ...

libraries

ScopeGuard 0.0.2 - Your helper for tighter scopes

[![ScopeGuard 0.0.2 - Your helper for tighter scopes](https://external-preview.redd.it/MKSPH8MyAhCaxpHD5FiVy_ynnqZKVvF2kWHTY9liCTQ.png?width=640&crop=smart&auto=webp&s=818f6307ef1224a60ae7085dd45bcd0b...

libraries

Ignore autogenerated files in coverage

My code base contains some autogenerated Go files: mocks: created by testify (own package) zz\_generated: generated deepcopy (file in a package) I want to see my functions sorted by "most uncovered...

libraries

SIPgo/Diago news

Hello gophers. Did not post here for quite some time. SIPgo is in some beta testing still, but checkout latest releases. It has IPV6 support, exposed transport configuration and lot of race fixes [...

libraries

Go deserves more support in GUI development

The Go community is a bit behind when it comes to GUI development, and that really doesn’t fit a language as strong, simple, and fast as Go. The language has already proven itself in servers, backend ...

libraries

ktye/i: Array Language in Arthur Whitney style Go

[![ktye/i: Array Language in Arthur Whitney style Go](https://external-preview.redd.it/XS8lg5xwAG00top34VKFPw2tKxtDnZfCYui4Kjs1g-s.png?width=640&crop=smart&auto=webp&s=20f5c3f6f5db65ee72fdb5b09d854dc3...

libraries

Does a Readable make sense here?

I just want to make sure that I am understanding the reader interface properly. I'm writing a text editor, one can read from a buffer (using vim or emacs terms). And they can also read from other thin...

libraries

i18n

Is there any *best* way to do i18n for web apps using templates? I'm using templ for ssr and I've come across a few possible solutions ([go-i18n](https://github.com/nicksnyder/go-i18n), [ctxi18n](http...

libraries

How do you design the table-driven tests in Go?

Some time ago I created a mini game written completely with Go. It was a hobby and a sandbox for learning the language. Testing in Go is great, but over time I faced an issue. My end‑to‑end (integrat...

libraries

Go 1.25.5 is released

You can download binary and source distributions from the Go website: [https://go.dev/dl/](https://go.dev/dl/) View the release notes for more information: [https://go.dev/doc/devel/release#go1.2...

libraries

What's the deal regarding ORMs

For someone coming from C# ASP.NET Core and Python Django, the Go community is against using ORMs. Most comments in other threads say they're very hard to maintain when the project grows, and they pr...

libraries

Who's Hiring - December 2025

This post will be stickied at the top of until the last week of December (more or less). Please adhere to the following rules when posting: **Rules for individuals:** - Don't create top-level comme...

libraries

Small Projects - November 24, 2025

This is the bi-weekly thread for Small Projects. (Accidentally tri-weekly this week. Holidays may cause other disruptions. Bi-weekly is the intent.) If you are interested, please scan over [the previ...

libraries

v1.11.0

gin-gonic/gin 发布 v1.11.0

libraries

v5.2.3

go-chi/chi 发布 v5.2.3