Git Product home page Git Product logo

go-spring-doc's Introduction

description
Go后端一站式开发框架

简介

Go-Spring 的愿景是让 Go 程序员也能用上如 Java Spring 那般威力强大的编程框架,所以正如它的名字昭示的那样 Go-Spring 从 Java Spring 借鉴了大量优秀的开发**。目前,Spring 家族的两大基础特性 IoC 容器和 Boot 框架均已实现,而 AOP 功能受限于 Go 的语言特性暂时无法实现。Go-Spring 对后端开发中常用的模块进行了封装,这些模块通过 Starter 机制仅仅只需一行代码即可快速使用。

详细特性列表如下:

  1. 支持对象(包括数组、函数、通道等)、构造函数、成员方法三种形式注册 Bean;
  2. 支持对 SpringContext (IoC 容器) 内的 Bean 进行依赖注入和属性绑定;
  3. 支持对用户指定 (IoC 容器外) 的 Bean 进行依赖注入和属性绑定;
  4. 支持 API 形式获取 (GetBean) 和查询 (FindBean) Bean;
  5. 支持自动和指定两种收集模式,指定模式可以对收集到的 Bean 进行排序;
  6. 支持配置函数,配置函数和函数式 Bean 的区别是配置函数不返回 Bean;
  7. 支持从命令行参数、系统环境变量、应用配置文件等多个地方获取配置项;
  8. 支持 Starter 机制和多种 Condition,灵活定义模块的导出 Bean;
  9. 支持 echogin 无缝切换,并且支持原生的 echogin 中间件;

go-spring-doc's People

Contributors

acrossmountain avatar gitbook-bot avatar lvan100 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.