Skip to content

saferwall/saferwall-api

Repository files navigation

saferwall web apis GoDoc Report Card GitHub Workflow Status (branch) codecov

Preface

This repository powers the web service api used in https://saferwall.com.

Vendoring

These packages are used in the project:

Folder Structure

This project follows the Standard Go Project Layout

  • build - contains packaging and Continuous Integration files.
  • cmd - contains the main function.
  • configs - contains configuration file templates or default configs.
  • docs - contains design and user documents.
  • internal - contains project specific packages with dependencies.
  • pkg - contains generic packages without project specific dependencies - these can be safely moved to other projects without internal dependencies.

Improvements compared to the previous implementation

  • clean architecture with solid principles.
  • Full test coverage
  • swagger doc
  • Error handling with proper error response generation
  • details:
    • File{} not depending on peparser.

References