1. Golocron
  2. The Style Guide
  3. 1. Project Layout
    1. 1.1. Good and Bad Layout
    2. 1.2. Types of Layouts
    3. 1.3. Common
    4. 1.4. Library
    5. 1.5. Single Application
    6. 1.6. Monolithic Repository
    7. 1.7. Monorepo: Additional Chapters
    8. 1.8. Versioning and Go
    9. 1.9. Notes on Release Notes
    10. 1.10. Summary
  4. 2. Package Layout
    1. 2.1. What is a Package
    2. 2.2. When to Create a Package
    3. 2.3. Keep Public API as Narrow as Possible
    4. 2.4. The Main Package
    5. 2.5. Package Provides Something
    6. 2.6. Naming a Package
    7. 2.7. Structure
    8. 2.8. Files in a Package
    9. 2.9. Cross-Platform Code
      1. 2.9.1. Basic Principles of Writing Cross-Platform Code
      2. 2.9.2. Cross-Platform Options in Go
    10. 2.10. Package and File Organisation
      1. 2.10.1. Keep Platform-Dependent Code at Minimum
      2. 2.10.2. Use Simple Branching in Trivial Cases
      3. 2.10.3. No Platform-Specific Code in Main
      4. 2.10.4. Use File Suffix by Default
      5. 2.10.5. Use Build Tags in Mixed Cases
      6. 2.10.6. An Advanced Example
      7. 2.10.7. Strive for Platform-Independent Tests
      8. 2.10.8. Provide Cross-Platform Tests Only When You Must
    11. 2.11. Summary
  5. 3. File Layout
  6. Foundation
  7. Application Design

Golocron – Software Development With Go

Golocron – Software Development With Go

by Pavel Burmistrov

TBD.