mirror of
https://github.com/elyby/chrly.git
synced 2024-12-25 22:50:14 +05:30
22 lines
263 B
Go
22 lines
263 B
Go
package di
|
|
|
|
import "github.com/defval/di"
|
|
|
|
func New() (*di.Container, error) {
|
|
container, err := di.New(
|
|
config,
|
|
dispatcher,
|
|
logger,
|
|
db,
|
|
mojangTextures,
|
|
handlers,
|
|
server,
|
|
signer,
|
|
)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
|
|
return container, nil
|
|
}
|