Skip to content

harmancioglue/go-hexagonal-architecture

Repository files navigation

This repository aims to show hexagonal architecture in Go. For simplicity, there is a "Todo Task App" with one endpoint to create task.

image

Tech

  • Go

Structure

/cmd

Entrypoint of the project.

/internal/controller

Controller for HTTP requests. It is also primary adapter.

/internal/infra

Intrastructure related code. It is also secondary adapter.

/internal/core

Hexagonal architecture is implemented in directory.

port

This directory includes primary and secondary ports. "Service" is primary port and "Repository" is secondary port.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published