entc/gen: add support for additional template for type package

Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/196

Reviewed By: aharonnovo

Differential Revision: D18706080

fbshipit-source-id: 17293350f628c9bec234fa5ad6a6239617fa6ef3
This commit is contained in:
Ariel Mashraki
2019-11-26 03:32:09 -08:00
committed by Facebook Github Bot
parent be307dab3c
commit 0b4f707bb9

View File

@@ -127,4 +127,9 @@ var (
{{ end }}
{{ end }}
{{ template "meta/additional" $ }}
{{ end }}
{{/* A template that can be overrided in order to add additional code for the type package. */}}
{{ define "meta/additional" }}{{ end }}