| 
						
						
						
					 | 
					 | 
					@ -1,12 +1,15 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					package base | 
					 | 
					 | 
					 | 
					package base | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import ( | 
					 | 
					 | 
					 | 
					import ( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						"github.com/mainnika/mongox-go-driver/mongox" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						"github.com/mongodb/mongo-go-driver/bson/primitive" | 
					 | 
					 | 
					 | 
						"github.com/mongodb/mongo-go-driver/bson/primitive" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					) | 
					 | 
					 | 
					 | 
					) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					var _ mongox.BaseObjectID = &ObjectID{} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// ObjectID is a structure with objectId as an _id field
 | 
					 | 
					 | 
					 | 
					// ObjectID is a structure with objectId as an _id field
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					type ObjectID struct { | 
					 | 
					 | 
					 | 
					type ObjectID struct { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						ID primitive.ObjectID `bson:"_id" json:"_id"` | 
					 | 
					 | 
					 | 
						ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"` | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					// GetID returns an _id
 | 
					 | 
					 | 
					 | 
					// GetID returns an _id
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |