HexaGO (A simple ports & adapter architecture example)
@edlingao
HexaGO (A simple ports & adapter architecture example) について
This is just me playing around with an 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@
「開発者ツール」の他のコンテンツ
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
Grafana MCP server
grafanaMCP server for Grafana
コメント