/Kanbersky.Echo

Golang Best Practice Project Structure

Primary LanguageGo

Project Layers

Api

  • OpenAPI/Swagger specs, JSON schema files, protocol definition files.

Build

  • Packaging and CI/CD Integration.

Cmd

  • Main applications for this project.

Configs

  • Configuration file templates or default configs.

Deployments

  • System and container orchestration deployment configurations and templates (docker-compose, kubernetes/helm, mesos, terraform, bosh).

Docs

  • Design and user documents

Internal

  • Private application and library code.
  • This is the code you don't want others importing in their applications or libraries.

Pkg

  • Library code that's ok to use by external applications

Vendor

  • Application dependencies.

Web

  • Web application specific components: static web assets, server side templates and SPAs.