Server side form validation 2
This commit is contained in:
		
							
								
								
									
										9
									
								
								internal/models/models.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								internal/models/models.go
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
package models
 | 
			
		||||
 | 
			
		||||
// Reservation holds Reservation data
 | 
			
		||||
type Reservation struct {
 | 
			
		||||
	FirstName string
 | 
			
		||||
	LastName  string
 | 
			
		||||
	Email     string
 | 
			
		||||
	Phone     string
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user