Golang 每周问题 483:2023 年 11 月 7 日

  • **Charm Raises $6M**: Charm, a Go-based tool and CLI library builder, has raised $6M. Their approach is popular in the Go community. This roundup includes their work in CLI development and released projects like Bubble Tea. (Toby Padilla and Christian Rocha)
  • Dragonfly: A drop-in Redis replacement. Applications built on it get speed, reliability, and scalability. Reduces costs and complexity. (Dragonfly)
  • Go in Containers: When running Go in containers, the runtime creates one thread per CPU core. GOMAXPROCS can be used to address significant GC cycle times. (River Phillips)
  • Quick Bits:

    • Filippo Valsorda and Roland Shoemaker of the Go team joined the Go Time podcast to discuss Go's cryptography libraries.
    • "Automate Your Home Using Go" is a forthcoming Pragmatic Bookshelf ebook by Ricardo Gerardi and Mike Riley, focusing on using Go on the Raspberry Pi.
  • Code & Tools:

    • env 10.0: Parse environment variables to structs with simple, no dependencies and support for various types. Custom parser functions can be defined. (Carlos Alexandro Becker)
    • Cobra 1.8: Library for building full-featured CLI apps.
    • color 1.16: Colorized output with ANSI codes.
    • GoReleaser 1.22.0: Build and release Go binaries for several platforms.
    • validator 10.16: Value validations for structs and fields based on tags.
    • progressbar 3.14: Basic thread-safe progress bar.
    • goverter 1.1: Easily create type-safe converters.
  • Quote: "The best programs are the ones written when the programmer is supposed to be working on something else." - Melinda Varian
阅读 27
0 条评论