Test serializer tag
This commit is contained in:
		
							parent
							
								
									379ce9f27b
								
							
						
					
					
						commit
						992042b46e
					
				@ -16,7 +16,7 @@ import (
 | 
				
			|||||||
type SerializerStruct struct {
 | 
					type SerializerStruct struct {
 | 
				
			||||||
	gorm.Model
 | 
						gorm.Model
 | 
				
			||||||
	Name            []byte `gorm:"json"`
 | 
						Name            []byte `gorm:"json"`
 | 
				
			||||||
	Roles           Roles  `gorm:"json"`
 | 
						Roles           Roles  `gorm:"serializer:json"`
 | 
				
			||||||
	EncryptedString EncryptedString
 | 
						EncryptedString EncryptedString
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user