GitHub Trends
10.1K subscribers
15.3K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#makefile #go #golang #project_structure #project_template #standards

This guide helps you organize your Go projects in a clear and structured way. It suggests using specific directories for different parts of your project, such as `/cmd` for main applications, `/internal` for private code, and `/pkg` for library code that can be used by other projects. This structure makes it easier to manage your code as your project grows, especially when multiple people are working on it. It also recommends using Go Modules for dependency management and provides tips on naming, formatting, and styling your code. By following this layout, you can keep your code organized, reusable, and easy to maintain.

https://github.com/golang-standards/project-layout