Skip to content

freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。

License

Notifications You must be signed in to change notification settings

liuwharton/freedom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

155 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freedom

License Go Report Card Build Status GoDoc

freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。

Overview

  • 集成iris v12
  • 集成普罗米修斯
  • 无侵入式Trace
  • 基于组件式的基础设施扩展
  • http2 server & client
  • 依赖注入 & 依赖倒置
  • CRUD & PO 代码生成
  • DDD & 六边形架构
  • 消息事件 & 事件重试 & 领域事件
  • 一级缓存 & 二级缓存 & 防击穿

安装

$ go get github.com/8treenet/freedom/freedom

脚手架创建项目

$ freedom new-project [project-name]

脚手架生成增删查改和持久化对象

# 编辑 [project-name]/server/conf/db.toml 填入数据库地址
# freedom new-po -h 查看更多
$ cd [project-name]
$ freedom new-po

Example

About

freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%