home.social

#golang — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #golang, aggregated by home.social.

  1. After reading about Hyrum-proofing in encoding/json/v2 I made a tiny errors compatible module doing exactly that.

    codeberg.org/vyskocilm/herrors

    #golang

  2. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  3. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  4. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  5. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  6. #gocon #goconjp attendee lanyard is an unpopulated PCB you can solder parts on and light it up with some rainbow leds driven by #tinygo #golang

  7. On my way to FyneConf.

    Stopped at Antwerp Centraal train station. It is gorgeous.

  8. Документация, которая не врёт

    С документацией к API есть две крайности, и обе плохие: написанная руками врёт через полгода, сгенерированная целиком стирает всё осмысленное, что в неё написали. Я перестал выбирать между ними и поделил файл: структура принадлежит коду и синхронизируется без спроса, проза принадлежит человеку и не трогается никогда. Заодно оказалось, что документацию можно проверять как golden-файл, и что проверить нельзя прозу, а вот её отсутствие можно.

    habr.com/ru/articles/1080460/

    #openapi #swagger #go #golang #документация_api #кодогенерация #rest_api #golden_tests #рефлексия #gorib

  9. Документация, которая не врёт

    С документацией к API есть две крайности, и обе плохие: написанная руками врёт через полгода, сгенерированная целиком стирает всё осмысленное, что в неё написали. Я перестал выбирать между ними и поделил файл: структура принадлежит коду и синхронизируется без спроса, проза принадлежит человеку и не трогается никогда. Заодно оказалось, что документацию можно проверять как golden-файл, и что проверить нельзя прозу, а вот её отсутствие можно.

    habr.com/ru/articles/1080460/

    #openapi #swagger #go #golang #документация_api #кодогенерация #rest_api #golden_tests #рефлексия #gorib

  10. Документация, которая не врёт

    С документацией к API есть две крайности, и обе плохие: написанная руками врёт через полгода, сгенерированная целиком стирает всё осмысленное, что в неё написали. Я перестал выбирать между ними и поделил файл: структура принадлежит коду и синхронизируется без спроса, проза принадлежит человеку и не трогается никогда. Заодно оказалось, что документацию можно проверять как golden-файл, и что проверить нельзя прозу, а вот её отсутствие можно.

    habr.com/ru/articles/1080460/

    #openapi #swagger #go #golang #документация_api #кодогенерация #rest_api #golden_tests #рефлексия #gorib

  11. I mostly wrapped up my #rbac implementation today. After reading through the #owasp recommendations for building rbac I can proudly say that the implementation is about what, 10 LOC? You be the judge, I cant count. What you don't see is the map that is 500+ LOC that makes it all work.

    #homelab #selfhosted #golang

  12. zendis v0.4.0

    zendis is a disassembler for the Z80 and Z80N

    zendis is a new sibling to zen80 (a Z80/Z80N CPU core) to zenas (a Z80/Z80N assembler) and to ZenZX, the companion ZX Spectrum emulator that reuses the former.

    Its hex output format matches what zenas accepts as input, so a zendis listing can be fed straight back into zenas, it can interpret plain .bin files at a starting --org address, and it can reuse the zentools sibling library to import .tap, .tzx, .pzx .sna, .szx and .z80 Spectrum binaries.

    It supports various output formats, including formats compatible with other Z80 assemblers: plain / listing / json / zenas / pasmo / sjasmplus / snasm.
    The listing format is the default and it prefixes every line with the resulting memory address for each instruction (pictured below). The plain format is just the instructions without addresses. The JSON output format allows for feeding zendis output into other tooling and pipelines.

    Repo:
    github.com/ha1tch/zendis#readme

    Binaries released for 17 modern architecture/platform pairs
    github.com/ha1tch/zendis/relea

    #zenas #zendis #disassembler #disassembly #z80 #z80n #retrocomputing #golang #foss #programming

  13. Financially Motivated Threat Actor Targets Brazil

    Beginning in 2024, a financially motivated threat actor designated BREEZE COMET has conducted sophisticated operations targeting Brazilian financial services, retail, and eCommerce organizations. The group specializes in manipulating payment systems including Pix, STR, and Boleto to conduct fraudulent transfers worth tens of thousands of USD. Their evolved tactics leverage customized malware suites written in multiple languages including Rust, Nim, Golang, and Java, alongside compromised government websites for initial access and command and control. The threat actor demonstrates advanced capabilities by targeting banking software, payment APIs, and mTLS credentials while maintaining persistent access through multiple backdoors. Evidence indicates BREEZE COMET uses generative AI to accelerate malware development and script creation, suggesting potential expansion to other Latin American and African countries based on infrastructure replication observed in Nigeria, Paraguay, Ghana, and Venezuela.

    Pulse ID: 6a9679441f068d4ee93916ae
    Pulse Link: otx.alienvault.com/pulse/6a967
    Pulse Author: AlienVault
    Created: 2026-09-01 07:05:40

    Be advised, this data is unverified and should be considered preliminary. Always do further verification.

    #Africa #BackDoor #Bank #Brazil #CyberSecurity #Golang #Government #ICS #InfoSec #Java #LatinAmerica #Malware #Nim #OTX #OpenThreatExchange #RAT #RCE #Rust #TLS #bot #AlienVault

  14. 🚀🎉 Woohoo! Go 1.27 is out, folks! Time to celebrate those groundbreaking dropdown menu updates and thrilling case studies that only a true Go-lang enthusiast could love. 🤔💤 Guess it's time to skip to main content... or maybe just skip it altogether. 😜👋
    go.dev/blog/go1.27 #GoLang #Go127 #Update #DropdownMenus #CaseStudies #Celebration #HackerNews #ngated

  15. @rebane2001 I made a URL shortener + QRCode generator to get the most scannable QRCode, and most of it, it's open source because MY GOD IT'S IMPOSSIBLE TO FIND A PROVIDER THAT IS NOT ENSHITTIFIED TO THE BRIM.

    github.com/dolanor/qure

    Documentation is inexistent, but I'm here if you have questions, and if people are interested, I could add a README (LOL).

    #golang #qrcode

  16. Выпекаем тесты на Go с Testo: делимся нашим open-source-фреймворком

    Привет, Хабр! Я Вадим, разработчик QA-платформы в Ozon. Стандартного testing в Go хватает юнит-тестам, но большим end-to-end-сценариям нужно больше: Allure-отчёты, плагины, Suite’ы, параметризация, параллельные запуски. Мы не нашли в Go-экосистеме инструмент, который закрывал бы всё это, не ломая привычный go test , — и написали свой: Testo. Сегодня на нём работает больше 60 тысяч тестов для 500+ сервисов Ozon, а теперь мы опубликовали его в open source . В статье покажу Testo и плагины в деле: как небольшой Go-тест шаг за шагом превращается в полноценный e2e-сценарий с отчётами, фикстурами, хуками и шагами, сохраняя привычный вид.

    habr.com/ru/companies/ozontech

    #go #open_source #qa #allure #golang #qa_automation #тестирование #автотесты #фреймворк #ozon_tech

  17. 🚮 Oh joy, another so-called "riveting" analysis of Go's garbage collector, because watching memory management is what we all dream about at night. 🙄 Apparently, Green Tea is the new darling, but I bet you didn't actually realize your subscriptions were funding a microscopic tour through the digital landfill, did you? 💸
    theconsensus.dev/p/2026/07/19/ #GoLang #GarbageCollection #GreenTea #DigitalLandfill #MemoryManagement #HackerNews #ngated

  18. 🚮 Oh joy, another so-called "riveting" analysis of Go's garbage collector, because watching memory management is what we all dream about at night. 🙄 Apparently, Green Tea is the new darling, but I bet you didn't actually realize your subscriptions were funding a microscopic tour through the digital landfill, did you? 💸
    theconsensus.dev/p/2026/07/19/ #GoLang #GarbageCollection #GreenTea #DigitalLandfill #MemoryManagement #HackerNews #ngated

  19. 🚮 Oh joy, another so-called "riveting" analysis of Go's garbage collector, because watching memory management is what we all dream about at night. 🙄 Apparently, Green Tea is the new darling, but I bet you didn't actually realize your subscriptions were funding a microscopic tour through the digital landfill, did you? 💸
    theconsensus.dev/p/2026/07/19/ #GoLang #GarbageCollection #GreenTea #DigitalLandfill #MemoryManagement #HackerNews #ngated