Golang 每周问题 455:2023 年 4 月 11 日

  • Go Weekly Update: Sent on Tuesdays now. Editor is Peter Cooper.
  • The Smallest Go Binary - 5KB: Author wanted to use Go's assembler without its runtime, possible with fiddling. Not something one usually needs to do but interesting.
  • Developing a RESTful API with Go and Gin: Official Go site has a tutorial on using Gin to create a simple RESTful API with data stored in memory.
  • What's Next in Kubernetes Access?: Manage and audit Kubernetes access using biometrics with a free trial of Teleport.
  • What's New in GoLand 2023.1: Popular Go IDE GoLand introduces a vulnerability checker, vulnerable package updater, improved gRPC tooling and ability to run 'scratch' files with non-standard-library packages.
  • IN BRIEF:

    • Go 1.20.3 and Go 1.19.8 released.
    • Go 1.21 likely to have a static toolchain on Linux.
    • On Reddit, Go code was 2-3x slower than JavaScript equivalent; replacing ints with uint32 improved.
    • Julia Evans built a zine feedback site with Go, SQLite and Vue.js.
  • How Do You Name Your Go Variables: A simple question generating strong opinions and lively discussion in the Lobsters community.
  • Quick Releases: env 8.0 parses environment variables into structs; Go OpenAI 1.7 is an OpenAI / ChatGPT client library; GoToSocial 0.8 is an ActivityPub server powered by Go; VHS 0.4 records GIFs of terminal actions; ws 1.2 is a tiny WebSocket library; gofumpt 0.5 is a stricter gofmt; SFTPGo 2.4.5 is a full featured SFTP server; tdl 0.8 is a Telegram file downloader.
  • Jobs: Sticker Mule is looking for a Site Reliability Engineer; Hired helps with easy job hunting by having companies approach with salary details upfront.
  • ICYMI: Efficiently Writing Binary Data blog post about speeding up writing binary data in Go by 14x.
阅读 13
0 条评论