New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/pnnguyen58/go-project-layout

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/pnnguyen58/go-project-layout

  • v0.0.0-20231001081425-8d0dfeb3a953
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-project-layout

Description

  • This project is for golang project template

Prerequisites

  • Clean architecture
  • Hexagonal architecture
  • Temporal IO

Technologies and Frameworks

  • golang 1.20
  • temporal 1.24

Directory structure

📁 go-project-layout
|__ 📁 api
|__ 📁 build
    |__ 📁 ci
    |__ 📁 packages
|__ 📁 cmd
    |__ 📁 app
    |__ 📁 workers
|__ 📁 configs
|__ 📁 deploy 
    |__ 📁 docker-compose
    |__ 📁 kubernetes
    |__ 📁 terraform
|__ 📁 docs
|__ 📁 internal 
    |__ 📁 activities // temporal activities
    |__ 📁 app // application layer
    |__ 📁 models // entitiy layer
    |__ 📁 repositories // database repositories
    |__ 📁 workflows // temporal workflows
    |__ 📁 defined // types and constants
|__ 📁 pkg
    |__ 📁 clients
    |__ 📁 google
    |__ 📁 logger
    |__ 📁 persistence
    |__ 📁 proto
    |__ 📁 proto_generated
|__ 📁 scripts
    |__ 📁 app
    |__ 📁 workers
    |__ docker-compose.yml
|__ 📁 tests
|__ 📁 infra
|__ Makefile
|__ go.mod
|__ go.sum
|__ README.md

How to run local

  • Build and run: make buildup
  • Stop and reset volume: make reset

How to test

Monitoring

  • Workflow status: http://localhost:8080

Conceptual model

TODO tasks

  • Add a policy check to make sure that the customers can view them own loan only.
  • Implement more unit tests
  • Implement exceed amount repayment
  • Fix docker network and wait dependencies healthy
  • Implement error abstract

References

FAQs

Package last updated on 01 Oct 2023

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