Comments (1)
@Zhu-Ying di.Gorm()
返回的就是一个全局对象,你每次返回的都是同一个,是用 di 做的依赖管理,用的是 mix/xdi 库
from mix.
Related Issues (11)
- 有一个小问题 HOT 2
- 配置解决方案 HOT 2
- Can you introduce the framework loading process of the following rectification projects? Because gin's default loading process, such as DB Error Logger, is for a Beans instance. These components, if a server provided by GIN is not available, how to replenish the corresponding Error message instead of the service being unavailable due to panic HOT 4
- xsql 是否有分页检索的适配,还是只能自己写sql实现? HOT 1
- 运行示例应用报错 HOT 1
- 开发环境怎么运行呢 HOT 1
- 关于di/gorm.go HOT 3
- 编译及运行main.go出错,安装了console,api,web HOT 1
- 非常好,屌爆了 HOT 1
- 怎么改写go了。。以前还用过MIXPHP呢。。 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mix.