MCPcopy Index your code
hub / github.com/farseer-go/fs

github.com/farseer-go/fs @v0.17.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.17.3 ↗ · + Follow
712 symbols 2,105 edges 130 files 446 documented · 63% 38 cross-repo links updated 17d agov0.17.3 · 2025-07-25★ 5523 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Overview

stars license go-version release Build codecov badge

Introduction

A modular and complete infrastructure framework based on Golang,create modern web applications and APIs

Use the most popular components available today and provide them with modular technology.

The framework perfectly supports DDD domain-driven tactical design, such as warehousing repository , application-layer transactions, domain events, application-layer dynamic WebAPI.

It has a mature version of .net core that has been in use for over 10 years and is great

Don't worry about the framework making you depend on too many packages, farseer-go's components are all separate packages and unused packages are not downloaded into your application

Features

  • Unified configuration: all configurations are consolidated into . /farseer.yaml

  • Elegant: all modules follow the principle of developer experience first.

  • Modularity: provides a complete modular system that allows you to develop reusable application modules.

  • Domain-driven: helps you implement a hierarchical architecture based on DDD and build a maintainable code base.

  • link tracking : if you use the framework Orm, Redis, Http, Grpc, ES, MQ, EventBus, Task, fSchedule, will implicitly implement link tracking for you and provide API request logs, slow queries.

Combined with FOPS project (automatic build, link tracing console, K8S cluster log collection) support code non-intrusive full link real-time monitoring.

Components

Package Name Description
fs Basic Core Package go-versionreleaseBuildcodecovbadge
collections Data Collection go-versionreleaseBuildcodecovbadge
webapi web api go-versionreleaseBuildcodecovbadge
async Async Programming go-versionreleaseBuildcodecovbadge
mapper Object Conversion go-versionreleaseBuildcodecovbadge
cacheMemory Local Cache go-versionreleaseBuildcodecovbadge
redis client go-versionreleaseBuildcodecovbadge
data DataBase ORM go-versionreleaseBuildcodecovbadge
elasticSearch client go-versionreleaseBuildcodecovbadge
eventBus eventBus go-versionreleaseBuildcodecovbadge
queue Local Queue go-versionreleaseBuildcodecovbadge
tasks Local tasks go-versionreleaseBuildcodecovbadge
fSchedule client go-versionreleaseBuildcodecovbadge
utils utils go-versionreleaseBuildcodecovbadge
rabbit rabbit client go-versionreleaseBuildcodecovbadge
etcd etcd client go-versionreleaseBuildcodecovbadge
linkTrace linkTrace go-versionrelease[Build](https://github.com/farseer-go/linkTrace/actions/workflows/b

Extension points exported contracts — how you extend this code

ILoggerPersistent (Interface)
ILoggerPersistent 实际的日志记录器 [3 implementers]
flog/iLoggerProvider.go
FarseerModule (Interface)
FarseerModule 依赖的模块 [2 implementers]
modules/farseerModule.go
IHealthCheck (Interface)
IHealthCheck 健康检查 [2 implementers]
core/iHealthCheck.go
IFormatter (Interface)
IFormatter 日志格式 [2 implementers]
flog/iFormatter.go
ILog (Interface)
ILog 日志记录器的外壳,由ILoggerFactory创建 [1 implementers]
core/iLog.go
IManager (Interface)
IManager 链路追踪管理 [1 implementers]
trace/iManager.go
OpOption (FuncType)
OpOption 选项
timingWheel/timingWheel.go
ConsumerFunc (FuncType)
ConsumerFunc 订阅者的函数
core/eventArgs.go

Core symbols most depended-on inside this repo

Convert
called by 154
parse/convert.go
ToString
called by 48
trace/eumCallType/enum.go
IsEqual
called by 29
parse/equal.go
Duration
called by 28
dateTime/dt.go
Red
called by 25
color/colors.go
Get
called by 25
configure/iConfigLoader.go
getCacheVal
called by 23
types/listType.go
IsGoBasicType
called by 22
types/isType.go

Shape

Function 309
Method 280
Struct 85
Interface 20
TypeAlias 14
FuncType 4

Languages

Go100%

Modules by API surface

dateTime/dt.go39 symbols
parse/convert.go24 symbols
trace/emptyManager.go23 symbols
trace/iManager.go21 symbols
flog/print.go20 symbols
sonyflake/sonyflake.go19 symbols
trace/trackContext.go18 symbols
timingWheel/timingWheel.go18 symbols
types/isType.go17 symbols
testBenchmark/parse_bm_test.go17 symbols
flog/compositionLogger.go15 symbols
fastReflect/rtype.go15 symbols

For agents

$ claude mcp add fs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page