Skip to content

Instantly share code, notes, and snippets.

View arsan-irianto's full-sized avatar

arsan-irianto

  • Yogyakarta, Indonesia
View GitHub Profile
@arsan-irianto
arsan-irianto / folder_structure.md
Created March 25, 2024 07:44 — forked from ayoubzulfiqar/folder_structure.md
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files