Skip to content

Implement Architecture Recommendations for OneMount #116

@bcherrington

Description

@bcherrington

Description

Implement architecture recommendations to improve the overall structure and organization of the OneMount project.

Rationale

The current project structure has some inconsistencies and doesn't fully align with Go community best practices. Implementing these recommendations will improve code organization, maintainability, and testability.

Impact

This implementation will affect the overall project structure and will improve code organization, maintainability, and testability.

Relevant Documentation

Implementation Notes

  • Introduce internal/ for private packages and pkg/ for public libraries
  • Align with community practices for Go project structure
  • Break down large main.go routines into discrete services (e.g., AuthService, FilesystemService)
  • Improve readability and testability of the codebase
  • Define interfaces for external dependencies (Graph API, DB)
  • Inject implementations for easier mocking in tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions