Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MongodbEscapeString ¶
MongodbEscapeString escapes the control characters used by mongodb commands TODO at the moment we only check for '$' char. We may need a deeper discussion about this
func MysqlRealEscapeString ¶
MysqlRealEscapeString escapes the control characters used by sql commands
Types ¶
type Feedback ¶
type Feedback struct { IsPageUseful *bool `json:"is_page_useful" validate:"required"` IsGeneralFeedback *bool `json:"is_general_feedback" validate:"required"` OnsURL string `json:"ons_url,omitempty" validate:"omitempty,ons_url"` Feedback string `json:"feedback,omitempty"` Name string `json:"name,omitempty"` EmailAddress string `json:"email_address,omitempty" validate:"omitempty,email"` }
Click to show internal directories.
Click to hide internal directories.