#go

2026-03-16

Разбираем net/http на практике. Часть 2.1: POST, файлы и in-memory хранилище

Предыдущая статья: habr.com/ru/articles/981356/ Продолжаем создавать сервис анонимных "мертвых ящиков" DeadDrop на чистом Go. Во второй части (первый подвыпуск) закладываем фундамент: учимся принимать POST-запросы, загружать файлы с проверкой MIME-типа и размера, создаём in-memory хранилище с потокобезопасным доступом через RWMutex. Пишем утилиты для генерации криптостойких ID и паролей. Разбираемся с интерфейсами и готовим архитектуру к дальнейшему развитию. Без фреймворков, только net/http и стандартная библиотека.

habr.com/ru/articles/1011028/

#Go #Golang #безопасность #secret_storage #inmemory #генератор_паролей #rwmutex #вебразработка #бэкенд #бэкендразработка

CarlosMorenoFrCarlosMorenoFr
2026-03-16

Comment une candidate qui passe au tribunal dans six mois par corruption et Traffic d’influences peut se présenter à la Mairie de Paris ?
Paris a une réputation mondiale d’urbanisme pour le bien commun et ne doit pas tomber si bas.
Pas un vote ne doit manquer à Emmanuel Grégoire
💫

2026-03-15
Retro Game BotRetrogamebot
2026-03-15

🎮 Random Retro Game:

Title: Go! Go! Tank
Released: None
Platforms: Game Boy

!Go!Tank

GripNewsGripNews
2026-03-15

🌗 //go:fix inline 與原始碼層級內聯工具
➤ 透過指令式註釋,實現大規模自動化程式碼現代化
go.dev/blog/inliner
Go 1.26 版本引入了全新的 `go fix` 指令,旨在協助開發者輕鬆維護並現代化程式碼庫。其中最亮眼的功能是「原始碼層級內聯」(Source-level inlining)。開發者只需在函式上方標記 `//go:fix inline` 指令,工具便會自動將舊的函式呼叫替換為函式內容,從而安全地進行 API 遷移或修正設計缺陷。這項技術不僅解決了許多重構中的邊界問題,還能透過自動化工具大幅降低維護舊程式碼的負擔,實現大規模的 API 平滑升級。
+ 這對於維護大型專案的技術債來說簡直是神器,不用手動處理成千上萬個 API 更新,還能確保邏輯不被破壞。
+ 雖然這功能很強大,但在處理依賴呼叫堆疊(call stack)的程式碼時,還是得小心使用,畢竟自動化內聯不等同於完全的邏輯等價。
語言 遷移

Hacker Newsh4ckernews
2026-03-15
Marco "Ocramius" Pivettaocramius
2026-03-15

Oh great, because this DIC implementation does not allow for multiple service decoration, I have to instead use lifecycle callbacks and a mutable service that holds a runtime mutex ;_;

uber-go.github.io/fx/lifecycle

2026-03-15

Go 1.21 introduced toolchain management, so that different modules can use different Go toolchains just as they can use different versions of a required module. hackernoon.com/go-121-an-insid #go

MonokaGerryT
2026-03-15

Share of programming languages used by / applications (2026-03-15):

29%
21%
19%
17%
6%
5% ++
1%
1%
2% Other:

72% use GTK4 (91% of them ), still 28% GTK3

Method: Source [1] lists 824 awesome (3/4) applications and their

[1] github.com/valpackett/awesome-

@GTK @gnome

2026-03-15

@hyperreal @rvyhvn Go and Python is enough reason to bring mise.

It's not about your preferences, but for consistency between developers of the same project. Or, for you, to come back to older projects you have not touched for a while.

For Open Source and team-based projects it will be really nice to have as a standard.

#go #python #Mise

2026-03-15

How we reduced the size of our Agent #Go binaries by up to 77% datadoghq.com/blog/engineering

Ada :v_trans: :v_pan:​iamada@tech.lgbt
2026-03-15

What month would be best for a skirt/dress month?👗 → :spinny_cat:

#trans #lgbtq #skirt #and #dress #go #spinny #month #spinnyspring

R.I.P. #Richard_Bozulich

Richard was THE most prolific English language author in the field of #Go #Baduk #Weiqi

Read more on the OGS forum:
forums.online-go.com/t/r-i-p-r

Lobsterslobsters
2026-03-14
2026-03-14

I built GitTop this weekend, a terminal dashboard for visualizing Git repo stats, inspired by htop/btop. It visualizes commit heatmaps, contributor profiles, branch stats, file health, and more.

Incidentally, it is also my first fully agentic coding project.

The result is good: braille area charts, fractional Unicode bar rendering, a proper filter DSL with boolean logic.

hjr265.me/blog/building-gittop

#AgenticCoding #ClaudeCode #Git #Go #TUI

Contributors + author detail
scrollx.orgscroll_x
2026-03-14
SirWumpus 🍀🍁sirwumpus@tilde.zone
2026-03-14

So Saint Patrick,

Maybe you can help me 🍀 where Saint Nick and Cupid failed. Still chasing job prospects, though one kind soul in YUL inquired, but we weren't a fit.

So maybe St. Paddy you could share some luck of the Irish with me or lead me to a pot of gold field of employers ☘️.

I know a variety of languages like #English, #French, #C, #Erlang, #Forth, #C#, #Java, #NodeJS, and poking at #Go. Have a history (if you ask) of experience that can bedazzle when applied.

So once more I launch yet another letter into the #fediverse seeking work.

snert.com/resume/
#Ottawa #Canada

PS. Won't say no to pot of gold.

#FedHire #GetFediHired #JobSeeker

2026-03-13

Version 2 of the YottaDB native #Go API is released and ready for use. We have blogged about it at yottadb.com/whats-new-in-the-g and the full API is documented at pkg.go.dev/lang.yottadb.com/go, where Go developers look for package documentation.

The v2 API is more concise, easier to read, and more intuitive for Go developers, with better performance as well, e.g., the new API includes iterators for traversing trees. There is documentation on migrating v1 applications to v2.
#Golang #Linux #OpenSource

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst