diff --git a/text_helpers.go b/text_helpers.go index 262695b..9b62365 100644 --- a/text_helpers.go +++ b/text_helpers.go @@ -184,6 +184,8 @@ func mkFunctionName(fkeyTableSingular, foreignTablePluralGo, fkeyColumn string, return strmangle.TitleCase(colName) + foreignTablePluralGo } +// PreserveDot allows us to pass in templateData to relationship templates +// called with the template function. type PreserveDot struct { Dot templateData Rel RelationshipToOneTexts