1 Star 2 Fork 3

kristas/booting-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bean.go 287 Bytes
一键复制 编辑 原始数据 按行查看 历史
kristas 提交于 2021-03-17 18:52 . refactor: rebuild config loader
package bean
import "reflect"
type Bean interface {
Bean() string
}
type Components []Bean
func DefaultBeanName(ptr interface{}) string {
return reflect.TypeOf(ptr).Elem().String()
}
type StaterBean interface {
Bean
Init()
}
type FactoryBean interface {
AfterPropertiesSet()
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/kristas/booting-go.git
git@gitee.com:kristas/booting-go.git
kristas
booting-go
booting-go
v1.0.9

搜索帮助