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@

评论

开发工具 分类下的更多 MCP 服务器