fix generating root methods
This commit is contained in:
parent
49cc0bd8ae
commit
c9dcf199d3
|
@ -37,12 +37,10 @@ type {{ s.name }} struct {
|
|||
{{ _self.table_methods(s) }}
|
||||
{% endif %}
|
||||
|
||||
{% if has_token(s, 'data_root') %}
|
||||
{{ _self.data_root_methods(s) }}
|
||||
{% endif %}
|
||||
|
||||
{% if has_token(s, 'diff_removed') %}
|
||||
{{ _self.diff_removed_methods(s) }}
|
||||
{% elseif has_token(s, 'data_root') %}
|
||||
{{ _self.data_root_methods(s) }}
|
||||
{% endif %}
|
||||
|
||||
{% if json_fields|length > 0 %}
|
||||
|
|
Loading…
Reference in New Issue