-
| Hi type UserModel struct {
	UserID    string `json:"user_id"`
	Employee  int    `json:"employee"`
	Mobile    string `json:"mobile"`
	Email     string `json:"email"`
}Expressions like  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            antonmedv
          
      
      
        Nov 24, 2024 
      
    
    Replies: 1 comment 5 replies
-
| You can use expr tags: type UserModel struct {
	UserID    string `expr:"user_id"`
	Employee  int    `expr:"employee"`
	Mobile    string `expr:"mobile"`
	Email     string `expr:"email"`
} | 
Beta Was this translation helpful? Give feedback.
                  
                    5 replies
                  
                
            
      Answer selected by
        star2478
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
You can use expr tags: