mirror of
https://github.com/elyby/chrly.git
synced 2024-12-25 06:30:04 +05:30
dac3ca9001
Introduce universal profile entity Remove fs-based capes serving Rework management API Rework Redis storage schema Reducing amount of the bus emitter usage
23 lines
277 B
Go
23 lines
277 B
Go
package di
|
|
|
|
import "github.com/defval/di"
|
|
|
|
func New() (*di.Container, error) {
|
|
container, err := di.New(
|
|
config,
|
|
dispatcher,
|
|
logger,
|
|
db,
|
|
mojangTextures,
|
|
handlers,
|
|
profilesDi,
|
|
server,
|
|
signer,
|
|
)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
return container, nil
|
|
}
|