mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 16:30:25 +08:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			263 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			263 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package persistence
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import (
							 | 
						||
| 
								 | 
							
									"mayfly-go/internal/file/domain/entity"
							 | 
						||
| 
								 | 
							
									"mayfly-go/internal/file/domain/repository"
							 | 
						||
| 
								 | 
							
									"mayfly-go/pkg/base"
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type fileRepoImpl struct {
							 | 
						||
| 
								 | 
							
									base.RepoImpl[*entity.File]
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func newFileRepo() repository.File {
							 | 
						||
| 
								 | 
							
									return &fileRepoImpl{}
							 | 
						||
| 
								 | 
							
								}
							 |