Experimenting with Project Templates in Go: Introducing gonew
The article introduces gonew, an experimental tool for instantiating new projects in Go from predefined templates. It addresses the common problem that developers face when starting a new project in Go, which is the lack of guidance on project layout and dependencies. Gonew allows developers to clone existing templates and make incremental changes, providing a base from which feedback and community direction can be gathered. Templates can be written by anyone and are distributed as modules, leveraging the Go module proxy and checksum database for better security and availability. The article also provides instructions on how to install and use gonew, as well as resources for writing custom templates. The author encourages readers to try out gonew and provide feedback to improve its functionality. Overall, gonew aims to simplify the process of starting new projects in Go and promote consistency and ease of use for developers.