mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
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:
committed by
Facebook Github Bot
parent
be307dab3c
commit
0b4f707bb9
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user