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 服务器
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
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
评论