#golang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #golang, aggregated by home.social.
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Trying to understand #golang. It seems to have quite some "implicit (and short) is better than explicit (and longer)"-features 🙄
-
WGX is now ihasvpn, and it's been rewritten from scratch.
The old WGX was a Bash installer that assembled a VPN on your host. The new one is a WireGuard server of its own: one static Go binary in one container, driving kernel WireGuard over netlink, with a web console built in.
Free software, AGPL-3.0.
-
WGX is now ihasvpn, and it's been rewritten from scratch.
The old WGX was a Bash installer that assembled a VPN on your host. The new one is a WireGuard server of its own: one static Go binary in one container, driving kernel WireGuard over netlink, with a web console built in.
Free software, AGPL-3.0.
-
WGX is now ihasvpn, and it's been rewritten from scratch.
The old WGX was a Bash installer that assembled a VPN on your host. The new one is a WireGuard server of its own: one static Go binary in one container, driving kernel WireGuard over netlink, with a web console built in.
Free software, AGPL-3.0.
-
I'm sure many older programmers will grunt at seeing this mentioned, but as much as AI annoys me just as much as the next guy (because of AI slop, increased hardware costs and stuff like that)...
... I can't deny that it feels like it's easier than ever to start learning to program these days.
You've got yourself a personal tutor who guides you through step by step and answers all of your questions you might be wondering.
You'll never be completely stuck.
Learning #Golang with Gemini atm
-
Chainlink Labs is hiring Security Response Engineer
🔧 #golang #python #ruby #blockchain #defi #aws #gcp #securityengineer
🌎 Remote; Dallas, Texas
⏰ Full-time
🏢 Chainlink LabsJob details https://jobsfordevelopers.com/jobs/security-response-engineer-at-chainlinklabs-com-apr-14-2023-fcdbe5?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Chainlink Labs is hiring Security Response Engineer
🔧 #golang #python #ruby #blockchain #defi #aws #gcp #securityengineer
🌎 Remote; Dallas, Texas
⏰ Full-time
🏢 Chainlink LabsJob details https://jobsfordevelopers.com/jobs/security-response-engineer-at-chainlinklabs-com-apr-14-2023-fcdbe5?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Chainlink Labs is hiring Security Response Engineer
🔧 #golang #python #ruby #blockchain #defi #aws #gcp #securityengineer
🌎 Remote; Dallas, Texas
⏰ Full-time
🏢 Chainlink LabsJob details https://jobsfordevelopers.com/jobs/security-response-engineer-at-chainlinklabs-com-apr-14-2023-fcdbe5?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Chainlink Labs is hiring Security Response Engineer
🔧 #golang #python #ruby #blockchain #defi #aws #gcp #securityengineer
🌎 Remote; Dallas, Texas
⏰ Full-time
🏢 Chainlink LabsJob details https://jobsfordevelopers.com/jobs/security-response-engineer-at-chainlinklabs-com-apr-14-2023-fcdbe5?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Chainlink Labs is hiring Security Response Engineer
🔧 #golang #python #ruby #blockchain #defi #aws #gcp #securityengineer
🌎 Remote; Dallas, Texas
⏰ Full-time
🏢 Chainlink LabsJob details https://jobsfordevelopers.com/jobs/security-response-engineer-at-chainlinklabs-com-apr-14-2023-fcdbe5?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
After reading about Hyrum-proofing in encoding/json/v2 I made a tiny errors compatible module doing exactly that.
-
ClickUp is hiring Senior AI Engineer - AI Platform
🔧 #golang #python #typescript #aws #azure #docker #gcp #kubernetes #seniorengineer
🌎 Canada
⏰ Full-time
🏢 ClickUpJob details https://jobsfordevelopers.com/jobs/senior-ai-engineer-ai-platform-at-clickup-com-jun-12-2025-f08193?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
ClickUp is hiring Senior AI Engineer - AI Platform
🔧 #golang #python #typescript #aws #azure #docker #gcp #kubernetes #seniorengineer
🌎 Canada
⏰ Full-time
🏢 ClickUpJob details https://jobsfordevelopers.com/jobs/senior-ai-engineer-ai-platform-at-clickup-com-jun-12-2025-f08193?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
ClickUp is hiring Senior AI Engineer - AI Platform
🔧 #golang #python #typescript #aws #azure #docker #gcp #kubernetes #seniorengineer
🌎 Canada
⏰ Full-time
🏢 ClickUpJob details https://jobsfordevelopers.com/jobs/senior-ai-engineer-ai-platform-at-clickup-com-jun-12-2025-f08193?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
ClickUp is hiring Senior AI Engineer - AI Platform
🔧 #golang #python #typescript #aws #azure #docker #gcp #kubernetes #seniorengineer
🌎 Canada
⏰ Full-time
🏢 ClickUpJob details https://jobsfordevelopers.com/jobs/senior-ai-engineer-ai-platform-at-clickup-com-jun-12-2025-f08193?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
ClickUp is hiring Senior AI Engineer - AI Platform
🔧 #golang #python #typescript #aws #azure #docker #gcp #kubernetes #seniorengineer
🌎 Canada
⏰ Full-time
🏢 ClickUpJob details https://jobsfordevelopers.com/jobs/senior-ai-engineer-ai-platform-at-clickup-com-jun-12-2025-f08193?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
purego != cgo
.
.
.
purego > cgo! -
Wiz is hiring Expert Backend Engineer
🔧 #csharp #golang #java #graphql #aws #azure #cicd #docker #gcp #kubernetes #postgresql
🌎 Tel Aviv, Israel
⏰ Full-time
🏢 WizJob details https://jobsfordevelopers.com/jobs/expert-backend-engineer-at-wiz-io-nov-4-2025-6d4f1a?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Match Group is hiring Software Engineer II, Backend
🔧 #cplusplus #golang #java #typescript #node #aws #azure #cicd #docker #gcp #kafka #kubernetes #nosql #redis
🌎 Los Angeles, California
⏰ Full-time
🏢 Match GroupJob details https://jobsfordevelopers.com/jobs/software-engineer-ii-backend-at-mtch-com-jul-29-2026-21d58d?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
ClickHouse is hiring Senior Cloud Software Engineer - Efficiency Engineering
🔧 #c #cplusplus #golang #java #aws #azure #gcp #kubernetes #terraform #seniorengineer
🌎 Remote; United States
⏰ Full-time
🏢 ClickHouseJob details https://jobsfordevelopers.com/jobs/senior-cloud-software-engineer-efficiency-engineering-at-clickhouse-com-aug-13-2026-652eb4?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
I'm looking for a coffee shop (or even a café) to host a meetup to have a bunch of Golang engineers congregate to chat about the Go programming language.
Anyone know of any?
Preference: Metrotown and Downtown New Westminster.
But anywhere Downtown Vancouver, Metrotown, Brentwood, Downtown New Westminster, and Surrey Central is fine.
#Vancouver #Go #GoLang #GoProgrammingLanguage #LowerMainland #LowerMainlandBC #LowerMainlandBCCanada #LowerMainlandBritishColumbia #LowerMainlandBritishColumbiaCanada #LowerMainlandCanada #GreaterVancouver #GreaterVancouverRegionalDistrict #MetroVancouver #VancouverCanada #VancouverBCCanada #VancouverBritishColumbiaCanada #BCCanada #BritishColumbiaCanada #BC #BritishColumbia #NewWestminster #NewWestminsterBC #NewWestminsterBCCanada #NewWestminsterBritishColumbia #NewWestminsterBritishColumbiaCanada #NewWestminsterCanada #NewWest #NewWestBC #NewWestBCCanada #Burnaby #BurnabyBC #BurnabyBritishColumbia #BurnabyBCCanada #BurnabyBritishColumbiaCanada #BurnabyCanada #Surrey #SurreyBCCanada #SurreyBC #SurreyBritishColumbia #SurreyBritishColumbiaCanada #SurreyCanada
-
Feedzai is hiring Senior Platform Engineer - Build
🔧 #golang #java #python #aws #cicd #docker #kubernetes #nosql #seniorengineer
🌎 Portugal
⏰ Full-time
🏢 FeedzaiJob details https://jobsfordevelopers.com/jobs/senior-platform-engineer-build-at-feedzai-com-jul-17-2026-f9f235?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Access‑token в переменной, refresh — в HttpOnly‑cookie: безопасная авторизация на Go + Vue 3
Тема хранения токенов — одна из самых больных в авторизации. Многие, не до конца понимая, как авторизация должна работать, кладут оба токена в cookie или — что ещё хуже — в localStorage. В этой статье мы соберём схему, в которой access‑token живёт в памяти приложения, refresh‑token — в HttpOnly‑cookie, а фронтенд сам восстанавливает сессию после перезагрузки страницы и незаметно обновляет протухший access. Бекенд — на Go, фронтенд — на Vue 3 (Vuex + vue‑router + axios), но концепция так же применима к React и Next.js. Верстку и стили оставляю за кадром — в статье только логика авторизации.
https://habr.com/ru/articles/1072430/
#jwt #access_token #refresh_token #авторизация #golang #vue_3 #httponly_cookie #xss #csrf #react
-
Go 1.27: generic-методы, которых не видит reflect
Go 1.27 (на момент написания rc3, финал обещают в августе) приносит generic-методы: метод наконец может объявить собственный тип-параметр. Взял golang:1.27rc3 в Docker и проверил, где у фичи границы. reflect новый метод не видит вообще, хотя go/types на том же типе показывает его в method set — метод доступен компилятору и недоступен через рефлексию, поэтому ни один интерфейс им не удовлетворить, а валидаторы и ORM его не заметят. Померил цену: на 200 инстанцирований с запретом инлайна бинарь с методом больше на 2264 байта, из которых 2000 приходятся на длину имён символов, а не на код; по времени разницы нет — это generic-функция с ресивером и тот же gcshape-стенсилинг. А вот что реально заметит прод на апгрейде: GODEBUG=asynctimerchan=1 теперь роняет процесс до main, encoding/json v1 на движке v2 меняет байты вывода на битом UTF-8, json.RawMessage обзавёлся String() и поменял ваши логи. Плюс замеры нового аллокатора: минус четверть времени на new(16 B) и ноль на 128 байтах. Читать дальше →
https://habr.com/ru/articles/1072194/
#Go #golang #Go_127 #дженерики #generic_methods #reflect #json #GODEBUG
-
Чем Go полезен при разработке AI-агентов
Всем привет! Меня зовут Илья Данилкин , я тимлид в Авито Авто . AI-агенты обычно живут рядом с Python, но всё же немало команд выбирают язык Go. Дело в том, что агенты большую часть времени не заняты сложными математическими расчётами, а ждут ответа модели или результата инструмента. А ещё работают в режиме бесконечных параллельных запусков. И если пользователь останавливает задачу, его запрос и следующие вызовы инструментов тоже нужно остановить. Поэтому при выборе языка важны не только библиотеки для работы с моделями, но и то, как язык справляется с одновременными задачами, отменяет операции и насколько просто доставить готовое приложение пользователю. В Go для этого есть дешёвые горутины, context.Context и сборка в один бинарник. В статье на примерах и материалах из Go-сообщества разберу пять сценариев, когда эти и другие свойства Go очень и очень нужны.
https://habr.com/ru/companies/avito/articles/1069734/
#go #Golang #AIагенты #MCP #contextContext #горутины #llamacpp #локальные_LLM
-
Как решить, что виртуалка больше не нужна
Речь пойдёт про VDI-портал: систему, которая клонирует виртуалки из шаблона, выдаёт их пользователям и гасит простаивающие. Но статья не о нём как о продукте, а об одном вопросе, который на входе выглядит тривиальным: этой машиной ещё пользуются? Ссылка на код будет в конце, одна. Нужен был пул виртуалок под технический отдел. Много. Держать их все включёнными не на чем: одновременно работает хорошо если четверть, а ресурсы гипервизора кончаются сразу и у всех. Первое решение было очевидным — скрипт по таймауту. Никто не подключён N минут — машина гасится. Понадобилась — поднимается. Скрипт я написал за вечер, и он даже работал, но по итогу я изобрёл VDI. Только не так, что посмотрел готовые решения и они меня не устроили, — я вообще не формулировал свою задачу как «нужен VDI» и потому не искал. Я решал «пусть виртуалки сами гасятся», а всё остальное наросло само, вопрос за вопросом. Когда стало очевидно, во что это превратилось, переезжать на готовое было уже и поздно, и незачем. Дальше разбираю вопросы, которые нарастали.
https://habr.com/ru/articles/1070176/
#proxmox #hyperv #vdi #виртуализация #guacamole #active_directory #golang #python #пул_виртуальных_машин #selfhosted
-
Circle is hiring Staff Software Engineer
🔧 #golang #java #api #blockchain #web3 #aws #azure #gcp #kubernetes #nosql #sql
🌎 Remote; Washington D.C., United States
⏰ Full-time
🏢 CircleJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-at-circle-com-aug-27-2024-b80d0c?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Today's the last day of our summer sale. Use code SUMMERTIME to save on all 3-day and 4-day tickets!
View keynotes, workshops & full schedule: https://techbash.com/
#webdev #dotnet #cloud #ai #devops #softskills #python #csharp #azure #vscode #golang #javascript #softwaredev #devcommunity
-
Watching Go's new garbage collector move through the heap
https://theconsensus.dev/p/2026/07/19/observing-gos-garbage-collector-old-and-new.html
Comments: https://news.ycombinator.com/item?id=49045474
#HackerNews #GoLang #GarbageCollector #HeapPerformance #Observability #TechInsights
-
pcfg-go v0.5.3 has been released.
This release focuses heavily on pcfg_guesser performance and memory efficiency:
• half the memory usage of v0.5.2
• 2x faster than v0.5.2
• 2,578% faster than the original Python3 pcfg_guesser.pyTwice the speed with half the memory usage? Nice.
-
Released a few new Go SDKs for fintech APIs.
Worldpay: https://pkg.go.dev/github.com/iamkanishka/worldpay-go
Moov: https://pkg.go.dev/github.com/fintech-sdk/moov-go
Starling Bank: https://pkg.go.dev/github.com/iamkanishka/starlingbank-go
Weavr: https://pkg.go.dev/github.com/iamkanishka/weavr-go
Xero: https://pkg.go.dev/github.com/iamkanishka/xero-go
Treasury Prime: https://pkg.go.dev/github.com/iamkanishka/treasuryprime-go
Mercury: https://pkg.go.dev/github.com/iamkanishka/mercury-go#Go #Golang #SDK #API #OpenSource #FinTech #Worldpay #Moov #StarlingBank #Weavr #Xero #TreasuryPrime #Mercury #Payments #Banking #EmbeddedFinance #OpenBanking
-
#GoSendXMPP 0.15.8 has been released ( #SendXMPP / #XMPP / #Jabber / #Go / #GoLang / #GoXMPP / #SCRAM / #SCRAMSHA / #SCRAMSHA1 / #SCRAMSHA256 / #SCRAMSHA512 / #TLSChannelBinding / #RFC9266 ) https://salsa.debian.org/mdosch/go-sendxmpp
-
#GoXMPP 0.3.4 has been released ( #XMPP / #Jabber / #Go / #GoLang / #SCRAM / #SCRAMSHA / #SCRAMSHA1 / #SCRAMSHA256 / #SCRAMSHA512 / #TLSChannelBinding / #RFC9266 ) https://github.com/xmppo/go-xmpp
-
Porting SafeText and analyzing digital content with Apache Tika
by @beet_keeperLast year I wrote about pitfalls in modern journalism, especially with regards to receiving documents and information from whistleblowers without offering them adequate protection.
The tl;dr is that you, as a whistleblower, need to protect yourself; and you, as an editor or journalist, need to protect your whistleblowers.
Steganographic fingerprints might be one method adopted to detect someone leaking information. Steganographic characters replace common textual characters with unusual but hard to detect variants, e.g. they look the same to the human eye, or are actually invisible. Using a tool called SafeText by David Jacobson we can identify these hidden fingerprints in the content that you share.
I firmly believe we can find clues about what is important to preserve, or learn to preserve, when we analyse the content of the digital record and not just the (file) format of the digital record.
A file can contain many different features and these are all challenges to their future interpretation, and thus preservation.
I wanted to use SafeText in some of my other non-Python tooling and so I decided to port the code to Golang as a composable module and binary.
By coincidence at the time I started writing this I had also just written about revisiting tikalinkextract and so I thought I would write this small explanation about how you might combine Tika and SafeText to perform some content analysis of your own.
Who knows, maybe we will find a conspiracy. Maybe we’ll find secret codes in our own digital records. Maybe we’ll learn something new about our records…
Lets have a look at putting Tika and SafeText together and see where it goes.
#ApacheTika #authenticity #Code #Coding #ContentAnalysis #Data #DigitalHumanities #digitalLiteracy #DigitalPreservation #Golang #integrity #Metadata #Paradata #SafeText #steganography -
@angst_ridden Oh, I am full on (30 year career in infosec and infra), #terraform , #ansible, #argocd, #gha (unfortunately because I hate it), #python and #golang Staff CloudOps Engineer.
My OP was just me bitching about it.
My cool task today is setting up a #capev2 server for #vuln and #mal testing.
-
Celebrating a smoother testing experience for the Go community! 🚀
I’m excited to share that pgxmock v5.1.0 has officially been released!
If you are using pgx for PostgreSQL in Go, this library remains one of the best ways to build robust unit tests without needing a live database.
-
DDD в Go без красивых схем: как один платеж получил три курса валют
В какой-то момент у нас один платеж начал жить с тремя курсами валют: checkout показывал сумму из Redis, payment-service ходил в API, а ledger писал проводку по снапшоту из Postgres. Расхождения были 2-5 тенге, иногда до 180. Разбираю, как это дебажили, какие костыли ставили и где DDD реально помог, без красивых схем. Читать статью
https://habr.com/ru/articles/1025226/
#ddd #domaindriven_design #go #golang #архитектура #value_object #aggregate_root #платежи #курсывалют #decimal
-
Разбираем net/http на практике. Часть 2.1: POST, файлы и in-memory хранилище
Предыдущая статья: https://habr.com/ru/articles/981356/ Продолжаем создавать сервис анонимных "мертвых ящиков" DeadDrop на чистом Go. Во второй части (первый подвыпуск) закладываем фундамент: учимся принимать POST-запросы, загружать файлы с проверкой MIME-типа и размера, создаём in-memory хранилище с потокобезопасным доступом через RWMutex. Пишем утилиты для генерации криптостойких ID и паролей. Разбираемся с интерфейсами и готовим архитектуру к дальнейшему развитию. Без фреймворков, только net/http и стандартная библиотека.
https://habr.com/ru/articles/1011028/
#Go #Golang #безопасность #secret_storage #inmemory #генератор_паролей #rwmutex #вебразработка #бэкенд #бэкендразработка