ruwebframe 0.1.1

A brief description of your crate.
Documentation
// pkg rubase::rucargo::cargohome::cargohome

/*
	@Title   文件名称: cargohome_init.rs
	@Desp    描述:    依赖自动注入
    @Company 公司:    wcht.akunlong.top
	@Author  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
	@Update  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
*/

// StructInit自动生成,一般不要手动修改

use std::sync::Arc;
use ctor::ctor;

use crate::rudi::dicontainer::direg;
use crate::rubase::rucargo::cargohome::cargohome::CargoHome;

#[ctor(unsafe)]
pub fn init() {
    register_bean_cargohome();
}

const SINGLE_BEAN_NAME: &str = "rubase::rucargo::cargohome::cargohome:CargoHome:cb5cc11f-44ba-48d9-9d68-0419b6b44823:single}";

pub fn find_bean_cargohome() -> Option<Arc<CargoHome>> {
    direg::get_bean::<CargoHome>(SINGLE_BEAN_NAME)
}

pub fn register_bean_cargohome() {
    direg::register_singleton(SINGLE_BEAN_NAME, CargoHome::new);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rucargo\\cargohome\\cargohome.rs",
  "pathPkg": "./src\\rubase\\rucargo\\cargohome",
  "structName": "CargoHome",
  "structPkg": "rubase::rucargo::cargohome::cargohome",
  "ifSingle": true,
  "ifDefault": false,
  "structIniFile": "cargohome_init.rs",
  "existIniFile": true,
  "single_bean_name": ":CargoHome:160aa527-d57e-4c99-86c3-4ac4e8570952:single",
  "modFile": "./src\\rubase\\rucargo\\cargohome/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/