home.social

#golang — Public Fediverse posts

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

  1. 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

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

    codeberg.org/vyskocilm/herrors

    #golang

  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. 𝗚𝗶𝘁𝗲𝗮:

    #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.

  7. #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

  8. On my way to FyneConf.

    Stopped at Antwerp Centraal train station. It is gorgeous.

  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. Документация, которая не врёт

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

    habr.com/ru/articles/1080460/

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

  12. 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

  13. If you have been using my library gomjml, you may consider updating. The latest version comes with some significant memory improvements: preslav.me/2026/09/09/gomjml-v #golang

  14. Выпекаем тесты на 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

  15. 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.py

    Twice the speed with half the memory usage? Nice.

    forum.hashpwn.net/post/11277

    #pcfg #wordlist #generator #hashcracking #golang #hashpwn

  16. 📝 Designing a listen later pipeline #development #webdev #tech #rss #preact #golang #audio #audiobookshelf

    I've had this long, long running relationship with bookmarking and read it later services. I'll commit to one, excited about whatever feature set it offers and then, without fail, my list grows and grows and grows and grows. I archive things to reset, repeat and then move to a different service. The only thing that's...

    coryd.dev/posts/2026/designing

  17. NEW: sulpher

    sulpher v0.2.0 is out — a Cypher graph query language parser written in Go.

    This release completes openCypher 9 coverage and adds several Neo4j 5+ idioms:

    ✓ CALL {} subquery blocks (with variable scope clause and IN TRANSACTIONS)
    ✓ COUNT {} / COLLECT {} subquery expressions
    ✓ Label boolean expressions: (n:Person&Employee), (n:!Bot)
    ✓ LOAD CSV, pattern comprehensions, reduce(), quantified paths {n,m}
    ✓ Hex/octal literals, || GQL string concatenation
    ✓ 45-file corpus, 269 queries, 100% pass rate

    Compatibility: openCypher 9 100% · Neo4j 5 ~85% · Neo4j 25 ~65%

    github.com/ha1tch/sulpher

    #Go #Golang #Neo4j #Cypher #GraphDatabase #OpenSource #Parser #FOSS #Sulpher