MCP.so
ログイン

HexaGO (A simple ports & adapter architecture example)

@edlingao

HexaGO (A simple ports & adapter architecture example) について

This is just me playing around with an MCP

基本情報

カテゴリ

開発者ツール

ランタイム

css

トランスポート

stdio

公開者

edlingao

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is HexaGO?

HexaGO is a simple example of a calculator app using the ports and adapter (hexagonal) architecture in Go. It demonstrates how to separate business logic (core) from external systems via ports and adapters.

How to use HexaGO?

Clone the repository, install air and templ, then run air in the project root. Open your browser and go to http://localhost:3000.

Key features of HexaGO

  • Implements hexagonal architecture in Golang.
  • Core business logic is isolated from external systems.
  • Uses ports and adapters for clean separation.
  • Includes calculator app example with HTTP and database adapters.
  • Live reload via air tool for development.

Use cases of HexaGO

  • Learning hexagonal architecture with a simple Go project.
  • Refactoring existing Go apps to adopt ports and adapters pattern.
  • Testing business logic independently of external dependencies.
  • Demonstrating decoupled design to team members.

FAQ from HexaGO

What is HexaGO?

HexaGO is a small implementation of hexagonal architecture (ports and adapters) in Go, illustrating a calculator app.

How to run HexaGO?

Clone the repo, install air and templ, run air in the root, then open http://localhost:3000.

What dependencies are needed?

You need Go, air (go install github.com/cosmtrek/air@latest), and templ (go install github.com/a-h/templ/cmd/templ@

コメント

「開発者ツール」の他のコンテンツ