Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/m3hm3t/account-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/m3hm3t/account-api

  • v0.0.0-20210612103828-f341832780cf
  • Source
  • Go
  • Socket score

Version published
Created
Source

Account API Client Library

I tried to create a client library that is suitable for projects with Hexagonal Architecture.Every operation has its own package, interface, and adapters. Adapter layers and REST clients are separated and there is a DI process in between them. The components are highly reusable for other purposes and independently configurable.

SOLID principles are taken into account during the design process. Methods have a single responsibility, interfaces are segregated, dependency injection mechanism is existing.

Method input parameters and return variables are designed to increase memory management performance. The purpose is to decrease heap and also increase stack usage.

The library contains both unit and integration tests. A mock rest API is used to simulate account API for integration tests.

Tests

Unit and Integration Test run command

make test

FAQs

Package last updated on 12 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc