mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			219 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			219 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package application
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"mayfly-go/pkg/ioc"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func InitIoc() {
							 | 
						||
| 
								 | 
							
									ioc.Register(new(procdefAppImpl), ioc.WithComponentName("ProcdefApp"))
							 | 
						||
| 
								 | 
							
									ioc.Register(new(procinstAppImpl), ioc.WithComponentName("ProcinstApp"))
							 | 
						||
| 
								 | 
							
								}
							 |