Golang 每周问题 460:2023 年 5 月 16 日

  • Go Developer Survey 2023 Q1 Results: Nearly 6,000 gophers participated. Key takeaways are 92% satisfaction with Go, error handling as the biggest pain point, keeping dependencies up to date being a challenge, VS Code as the editor of choice with GoLand second, and most Go devs working on Mac or Linux (tied in popularity) while Windows is popular with newer devs.
  • Go! Experts at Your Service: Ardan Labs Consulting offers help in filling skill gaps, speeding up development, and creating high-performing software using Go, Docker, K8s, Terraform, and Rust, maximizing architecture, structure, tech-debt, and human capital.
  • A Proposal for Less Error-Prone Loop Variable Scoping: Russ Cox presents a more serious proposal based on changing the semantics around loop variable scope (only in apps declaring a modern Go version in go.mod to avoid breaking older programs) after a previous attempt.
  • Google's Gophers on Building More Secure Apps: Cameron Balahan and Julie Qiu tackle supply chain security in Go and its ecosystem, explaining general problems and providing tools and approaches to mitigate them (18 minutes).
  • IN BRIEF:

    • Stack Overflow's 2023 developer survey is live. Share your views to ensure Go is represented.
    • When working with http, always read and close response.Body to avoid goroutine leaks. There's a linter for the issue.
    • Preslav Rachev has an issue with ORMs not related to performance or complexity.
  • How to Build a Serverless Discord Bot with OpenFaaS: Alex Ellis shows how to build a serverless chat bot with Go on the OpenFaaS platform, which is written in Go.
  • A 9-Hour Go Course for Beginners: An epic, practical, and project-oriented video for beginners, which may be useful as a refresher or for sharing with team members.
  • BARF 1.0: A framework for building JSON-based web APIs (basically a remarkable framework), with a 1.0 release. There's also a blog post that digs deeper into how it works.
  • Other Tools:

    • Faktory 1.7: Language-agnostic persistent background job server.
    • Vale 2.26: Syntax-aware linter for prose.
    • Mage 1.15: make/rake-like tool with Go.
    • etree 1.2: Parse and generate XML as element trees.
  • Jobs: Hired makes job hunting easy by having companies approach with salary details. Share job listings here.
  • An a-maze-ing Go program: Fred X's Go program can create, solve, and draw mazes in the terminal or as 2D/3D graphics using G3N and OpenGL, and also promotes his clap CLI argument parsing library.
阅读 25
0 条评论