Skip to content
/ freedom Public
forked from 8treenet/freedom

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

License

Notifications You must be signed in to change notification settings

fuzctc/freedom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freedom

License Go Report Card Build Status GoDoc

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

Overview

  • 集成iris v12
  • 集成普罗米修斯
  • 集成gorm
  • 链路追踪
  • infra容器 基于组件的基础设施
  • http2 server & client
  • 依赖注入&依赖倒置
  • CRUD 代码生成
  • DDD&六边形架构
  • 消息事件&事件重试&领域事件
  • 一级缓存&二级缓存&防击穿

安装

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

创建项目

$ freedom new-project [project-name]

生成po 持久化对象

# 编辑 [project-name]/cmd/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 99.1%
  • TSQL 0.9%