Finish half translation work.

This commit is contained in:
zicla
2019-05-04 23:36:05 +08:00
parent 900924d196
commit 5625149766
52 changed files with 613 additions and 950 deletions

View File

@ -7,24 +7,21 @@ import (
)
type Context interface {
//具备响应http请求的能力
http.Handler
//获取数据库链接
//get the gorm.DB. all the db connection will use this
GetDB() *gorm.DB
//获取一个Bean
GetBean(bean Bean) Bean
//获取全局的Session缓存
//get the global session cache
GetSessionCache() *cache.Table
//获取全局的ControllerMap
GetControllerMap() map[string]Controller
//系统安装成功
//when application installed. this method will invoke every bean's Bootstrap method
InstallOk()
//清空系统
//this method will invoke every bean's Cleanup method
Cleanup()
}