Skip to content

ItsFunny/go-cell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go cell 框架

What

  • Java 版本 框架类似, 底层设计是一模一样的,所以具体介绍去看 Java版的吧

How To Use

  • 导入依赖

    • import "github.com/itsfunny/go-cell/application"

  • 添加指定的module(精力有限,所以只有http和swagger)

    • app := application.New(context.Background(), http.HttpModule, swagger.SwaggerModule,)

  • 启动即可

    • app.Run(os.Args)

  • 完整的示例:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages