// MangleName makes sure a reserved word gets a safe name
MangleName makes sure a reserved word gets a safe name
// MangleName makes sure a reserved word gets a safe name
func (l *LanguageOpts) MangleName(name, suffix string) string {
	if _, ok := l.reservedWordsSet[swag.ToFileName(name)]; !ok {
		return name
	}
	return strings.Join([]string{name, suffix}, "_")
}
func ( l * LanguageOpts ) MangleName ( name , suffix string ) string { if _ , ok := l . reservedWordsSet [ swag . ToFileName ( name ) ] ; ! ok { return name } return strings . Join ( [ ] string { name , suffix } , " " ) }
MangleName makes sure a reserved word gets a safe name
MangleName makes sure a reserved word gets a safe name