From 3fdff6b16f7bae206234943b6d1784f3695ceca5 Mon Sep 17 00:00:00 2001 From: Jannik C <12862103+masseelch@users.noreply.github.com> Date: Wed, 4 Nov 2020 13:50:03 +0100 Subject: [PATCH] entc/gen: fix small typo in ent.tmpl (#916) Fixed a small typo --- entc/gen/internal/bindata.go | 4 ++-- entc/gen/template/ent.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/entc/gen/internal/bindata.go b/entc/gen/internal/bindata.go index 63b6d35d3..43ae16c5c 100644 --- a/entc/gen/internal/bindata.go +++ b/entc/gen/internal/bindata.go @@ -910,7 +910,7 @@ func templateDialectSqlUpdateTmpl() (*asset, error) { return a, nil } -var _templateEntTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x58\x5f\x6f\xe3\xb8\x11\x7f\xb6\x3e\xc5\x9c\xe0\xbd\xb3\x0d\x87\xda\xde\x5b\xb7\x4d\x81\xdc\x26\xdb\x06\x58\xe4\xda\x26\x8b\x3e\x2c\x16\x77\xb4\x34\xb2\xd8\xc8\xa4\x97\xa4\x9c\x04\x82\xbe\xfb\x61\x48\x51\xa6\x6c\x27\x97\xbd\x7b\xb2\x45\xce\xdf\xdf\x0c\x87\x33\x6c\xdb\x6c\x91\xbc\x57\xdb\x27\x2d\xd6\x95\x85\x1f\xdf\xfe\xe5\xaf\x67\x5b\x8d\x06\xa5\x85\x0f\x3c\xc7\x95\x52\xf7\x70\x2d\x73\x06\x17\x75\x0d\x8e\xc8\x00\xed\xeb\x1d\x16\x2c\xb9\xab\x84\x01\xa3\x1a\x9d\x23\xe4\xaa\x40\x10\x06\x6a\x91\xa3\x34\x58\x40\x23\x0b\xd4\x60\x2b\x84\x8b\x2d\xcf\x2b\x84\x1f\xd9\xdb\xb0\x0b\xa5\x6a\x64\x91\x08\xe9\xf6\x3f\x5e\xbf\xbf\xba\xb9\xbd\x82\x52\xd4\x08\xfd\x9a\x56\xca\x42\x21\x34\xe6\x56\xe9\x27\x50\x25\xd8\x48\x99\xd5\x88\x2c\x59\x64\x5d\x97\x24\x6d\x0b\x05\x96\x42\x22\xa4\x1b\x55\x60\x9d\x42\xbf\x3a\xdd\xde\xaf\xe1\xdd\x39\xac\xb8\x41\x98\xb2\xf7\x4a\x96\x62\xcd\xfe\xcd\xf3\x7b\xbe\x46\x22\x6a\x5b\xb0\xb8\xd9\xd6\xdc\x22\xa4\x15\xf2\x02\x75\x0a\xd3\xc0\xbe\xdf\x12\x9b\xad\xd2\x36\x6c\xf9\x2f\x98\x25\x93\xb6\x3d\x03\xcd\xe5\x1a\x61\xba\xe5\xb6\x22\x5d\x53\x76\x2b\x56\xb5\x90\xeb\x6b\x47\x65\x88\x63\x32\x49\x9d\x35\x44\xd2\x75\xa9\xe7\x43\x59\xd0\xde\x3c\x49\xb2\x0c\x68\x9b\xdd\xf0\x0d\x59\x45\x18\x12\x00\xce\x17\x40\x69\x85\x7d\x82\x52\x79\x24\x47\x84\x26\xaf\x70\xc3\x59\x62\x9f\xb6\x87\x3b\x56\x37\xb9\x85\x36\x99\xe4\xce\x69\x18\xb9\xe3\x24\x67\x6a\x23\xac\xe5\x6b\xd3\xbb\x35\xc9\x32\xb8\xbe\xf4\x38\x23\xa9\x65\xc9\xe4\xfa\xd2\x8b\xbd\xbe\x64\x77\xa4\xa3\xeb\xe8\xfb\x41\xd8\x0a\xa6\xec\x42\x4a\x65\xb9\x15\x4a\x1a\xf6\x41\x60\x5d\x18\x76\xeb\xd4\xde\xf1\x35\x13\xe4\xdc\xaf\x6d\x0b\xac\xff\xc5\xda\x60\xff\xd7\xc9\x1b\x48\xc3\xbe\x87\x23\x86\xb4\xf4\x78\x7a\xd9\x1e\x47\xda\x9d\x5a\xee\xa2\x3a\x2d\x47\x42\x06\xc3\xc8\x27\xcf\xf9\x92\x85\x11\x87\x90\x05\x3e\xf6\x7c\xd3\x32\x60\x48\x86\x92\xa6\x73\xe7\xc2\x60\x61\x64\xea\xa4\x0f\x5c\xb0\xc3\xa9\x20\x8c\x2a\x45\x06\x13\x8c\x3b\x5e\x37\x18\x30\x4d\x3d\x71\x2f\x3f\x85\x92\xe8\x99\xf3\xea\x84\x90\xb6\x05\x51\x3a\x7a\x51\xd7\x7c\x55\x13\xcf\x22\x36\x63\x5a\xc6\x41\x11\x25\x48\x65\x9d\x1c\x94\x46\x58\xb1\x1b\xe0\xb6\x7b\x90\x7d\x10\x7e\x37\x19\x0e\xe2\x11\xff\xef\x83\x7f\x55\xac\xd1\x0c\x28\xf8\xaf\xbd\xdb\x1a\x6b\x0f\x7b\x86\x6e\x87\xb2\x57\xd9\x0a\x35\x48\x55\xa0\x09\x47\x7c\xad\xf9\xb6\x62\x5e\xc4\x5d\x40\xcb\x00\xd7\x08\x2b\x14\x72\x0d\x5b\xb5\x6d\xc8\xca\x02\x56\x4f\x47\xe9\xff\x9f\x06\xf5\x13\x3c\x54\x28\x01\xf9\x1a\xf5\x59\xad\x78\x41\x5c\x54\x25\x90\xd2\x77\xe2\xed\x8a\x99\x86\x95\x43\x00\xc8\xd0\xf8\x34\x04\xbf\xcf\xc2\x47\xb6\x80\x8b\xa2\x10\xe4\x16\xaf\x7d\xec\x0c\x58\x05\xbc\x18\xac\x33\x56\x69\xaa\x2c\x85\x16\x3b\xd4\x0c\x5c\x79\xea\x73\x76\xb3\xad\x29\x29\xb7\x5a\x48\x5b\x42\x5a\x08\x5e\x63\x6e\xb3\x37\x26\xf3\xfa\xbd\xc0\x94\xea\x47\x2f\x25\xf0\x8a\x12\x2a\x6e\xee\x82\xbd\x5e\xd4\x70\x1a\x1e\xed\x78\x83\x9d\x8c\xda\x2b\x8c\x6f\x4c\x6c\xf2\x11\x3e\x9e\x27\xe3\x83\x94\x1e\x28\x57\x2a\x8f\xd3\xe2\xa0\xa6\xfd\xb9\x04\x39\xaa\x6f\x5e\xdc\xbe\xc8\x45\x45\x03\x09\x65\x36\x3a\x9f\xf8\xca\xf3\xe9\x69\x43\x09\x25\xc3\xc2\xe1\x3c\x92\x10\x1d\x38\x64\x9f\xa4\xf8\xda\x10\xcf\xe7\x2f\xc3\xc1\x59\x78\x36\x3a\xa0\x83\xc4\xa1\x42\xe1\x51\xf5\x63\x27\xaa\x60\xf8\x9f\x65\x40\x99\x8d\x05\x09\x8b\x41\x14\xb2\x54\x7a\xe3\x70\x74\x00\x6a\xa4\x1b\xc7\x9d\x80\x12\xb8\x63\x74\xc8\x3d\x70\xd3\x4b\x80\x99\x23\xfb\xda\xa0\xb1\x58\xcc\x09\xe6\xf1\xd1\x51\x14\x00\x3a\x3a\xb1\xc6\xcf\x6d\x0b\x35\x4a\x67\xe4\x97\x95\x52\x75\x08\x7a\x0f\xb9\x58\x8e\x60\x7f\x06\xf5\x9f\xf5\x95\x26\xe5\xb6\xd1\xd2\x44\x78\x1f\x20\xdb\x47\x44\x03\x97\x80\x5a\x2b\x4d\xce\xb8\x1b\xa9\x58\xa3\x13\x4e\xee\x10\xf2\xbd\x4b\x87\x3e\xf4\x75\x33\x0a\xcb\x92\xc4\xf5\xd4\xab\xc6\x0e\x02\x5c\x0b\x32\x80\xce\x92\x49\xd9\xc8\x1c\x66\x27\x52\x6d\xfe\xbc\x47\xb3\x39\xcc\xfe\x48\x36\x2c\xbd\x77\x73\x4a\xdf\x89\x28\x01\x59\x04\x39\x21\x3e\x15\x04\xb7\xdb\x0e\x65\x20\x96\x4e\xcb\x9e\xef\x24\x8c\xe7\xe7\x20\x45\xed\xb9\x87\xfa\x4a\x10\x1e\x64\x79\x94\x1b\x87\x40\x2e\x07\xde\x23\xd0\x98\xdf\xf2\xc1\x24\x45\x4b\xf8\xfe\x46\xd9\x0f\xb4\x77\x45\x6e\xb5\x35\x5f\x61\xfd\x0e\x22\xbf\xf7\x6d\x17\xfb\x48\x9b\xde\x83\x2e\xb8\x37\x5c\xaa\x41\xea\x69\xc7\x96\xa4\x2d\xf1\x7c\x87\xea\x3f\x3a\x3f\xbc\x7e\x72\xf5\x9d\xbf\x71\x07\x67\xd3\x2e\x99\x74\x49\xa4\x2c\xfa\xeb\xda\x45\x57\x40\x4f\xd6\xe8\x02\xa9\xbb\xcd\x94\xc4\x83\x0a\xdd\xb6\x47\x15\x78\xe8\x1f\xa7\x1a\x73\xa4\x9b\xc0\x77\x23\xff\x0d\x5f\xfd\x76\x5c\xb0\xe2\x0b\xd5\x5d\xed\x94\x89\xe1\xba\x80\xd4\x5d\x75\xe9\x31\x1a\xc3\x61\x73\xf4\x5d\x07\x5f\x1b\xd4\x02\xcd\x33\xe5\x2c\x2e\x74\x61\x63\x48\xfb\x91\xc1\x5d\x07\x8b\x98\x6a\x1e\x6b\x99\xcd\x21\x4e\x68\x67\xdc\x50\xe3\xf6\x71\x99\x7d\x1f\x4b\x78\x5f\x0b\x94\xb6\xf5\xed\xa8\x4f\x8c\x48\x1b\xf3\xeb\xdd\x9c\xc5\x7a\x0e\x88\xe6\x3e\x7c\x43\xc8\xb2\x0c\x3e\x6d\x0b\x02\x3e\x54\x15\x0e\xab\x46\xd4\x34\x75\x50\x3d\x6c\x68\x93\xaa\x9a\x1b\x1c\xc6\x4e\x67\x19\xdc\x28\x8b\x60\x2b\x6e\x97\xf0\xa4\x1a\x90\x88\x05\x5d\x89\x39\xaf\xeb\x31\xf1\x27\xf9\xa0\xf9\x76\x36\x87\x15\x96\x4a\xa3\xa3\x18\xc4\x6e\xd0\x56\xaa\x58\xfa\x2a\x75\xa0\x26\xe9\xab\x95\x37\x0f\x0b\x28\xb5\xda\x00\x07\xab\xb9\x34\x3c\xa7\xc2\xbd\x04\x2e\x0b\x17\x94\x68\xd1\x31\xe5\x6a\x43\x3d\x19\x16\x54\xbd\xb4\xaa\x6b\xaa\x5e\x3c\xbf\x67\xc9\xab\xe2\xe5\x91\x09\xa1\x62\xfe\xf3\x67\x89\x51\xa0\xfe\x54\x9c\x06\x81\xc7\x51\xea\x43\xe3\x50\x83\xc6\xfd\x98\x30\x54\xd0\x2c\x43\x98\xff\x1e\x2e\xc0\x4b\x8b\x1a\x84\x27\xcc\x6b\x65\xb0\x58\x92\x58\xa3\x3c\x3f\x45\x49\xe2\xa3\x1d\x52\xfe\x41\xd4\x35\xac\x10\xf0\x11\xf3\x86\x60\xb3\x95\x56\xcd\xba\x72\x9a\x7d\x47\x06\x0f\x95\xc8\x2b\xc8\x35\x72\x4f\x30\x42\xfd\xb5\xc0\x86\x6c\x18\xad\x13\x9e\xf6\x71\x09\xea\x9e\x8e\xed\x69\xd4\x58\xdf\x17\xce\x16\xf6\xf1\xd2\xfd\x9d\x27\x54\xc2\xbf\x53\xf7\xee\xdc\x6c\xb9\x14\xf9\x2c\x0d\x83\x6b\xd7\xbd\x3b\x9a\x0b\xa9\x02\x8f\x70\xe2\x61\x42\x4c\xdd\xe9\x98\xbc\xa8\x19\xce\xc1\x3e\xb2\x42\xef\x86\xd8\x1f\x90\xf7\xa1\xbb\xb5\xda\x75\x11\x9b\x6d\x8d\x1b\x94\xd6\x47\xaf\xdc\x58\xe6\x77\x50\xbf\x12\x2b\x4f\x3e\x9b\x53\xab\x46\x12\xdb\x64\xb2\xe3\x7a\x38\xa4\x7e\xd5\xb0\x9f\xfc\x77\x32\xe9\x37\xd8\xff\xb4\xb0\xd8\x33\xa7\xb1\xc8\x19\xb9\x79\x8a\xca\x19\xe7\x0b\xf7\x2c\x15\xc5\xf9\x9b\x5d\xba\x3c\x0a\xc3\xf5\xe5\x7c\x3e\x6a\x16\xa9\x73\x79\x66\xca\xf4\xb3\x57\x3c\x4b\xd1\xdd\x74\xd2\xc0\x25\x8c\x06\xbb\xf3\xbf\x9b\xc0\xf5\x0f\x32\xd7\x5f\x6f\x7e\xf2\x0a\xb7\xdd\xd4\x94\xf1\x34\xf0\xc6\xb0\x37\xd4\xfb\x0f\xc6\x1e\x8d\x83\x71\x17\x30\x1a\x09\x43\x1f\xb0\x0b\x79\x67\x4a\xe8\xba\xbf\xc1\x0e\xbe\x1b\xb5\x00\xaf\xb2\xdc\x99\xbb\xd7\x44\xa5\x69\x5a\xb2\x6b\x73\x27\x36\x08\xb3\x7e\xbe\xfc\x17\x37\xff\x54\x54\xf9\xe7\x41\xfd\x69\xe9\x3b\xf6\xc1\xb5\xa7\x33\x2b\x36\xc8\x2e\x6e\x6e\xaf\xdf\xcf\x23\xf9\x0e\x91\x58\x49\x9f\x75\xdf\xaa\x66\xb1\x3b\x14\xfa\x22\xf9\x28\x51\x5c\x96\x2c\x76\x23\xb3\x86\x3e\x24\xea\x4d\x22\xa9\xdf\x82\xe3\xb7\xc2\x78\x4a\xf6\x10\xd2\x67\xd1\xfc\x83\x60\xbe\xa8\xec\x40\xf2\x4b\x3c\xc7\x80\xee\xa5\x44\x62\x64\x9c\xc5\xc3\xd7\xe1\x9c\x1a\xfe\x8f\x14\xfd\xf4\x64\x71\xf6\xc3\xfc\x87\xf9\x50\xb6\xc2\x76\xa8\x2f\x49\xdf\x70\x99\x5a\xe4\xae\x9f\xda\xd6\x8d\xe6\xf5\xf8\x26\xde\x13\xf8\x5a\xca\x61\xcb\xb5\x71\xc7\xc8\x2f\xab\xf2\xa0\x49\x18\xe6\xce\x81\xed\xf3\x97\x51\x85\x73\x5a\xdd\x4c\x87\x8f\x96\x6c\x9f\x42\x7a\x4b\xb4\xe9\x9e\xc7\xd7\xe4\x17\xe6\xff\xbe\xb7\xdc\x70\xf9\x74\x3c\xfe\x9f\x9e\xef\xa3\x26\xe8\x74\x1d\x8e\x8d\x9e\x83\xbf\x04\x66\x79\xb9\xee\xff\xba\xa9\x83\x5a\xa4\x5f\x04\x19\xe5\xab\xe1\x91\x8c\x7e\xf8\x8d\xd6\x3e\xff\x22\xbe\xf4\x57\x0a\x9c\x43\x5e\xae\xe9\xce\x19\x99\xd3\xb6\xd9\x02\x2e\xf6\xaf\x07\xa4\x64\x8d\x12\x75\xe8\xc4\x10\x2c\x5f\x87\x46\x34\x9e\xe3\xcf\xfc\x73\x98\x7f\x81\x38\x7c\xd2\x8d\x9e\x67\xa2\x97\xbe\xd1\x03\x9f\x93\xf5\xfc\x60\xdd\x3f\x3f\xfe\xdf\x28\xf9\x2e\x75\x8f\x0e\xe9\xaf\x27\x1e\xf5\x4e\x3a\xe0\x1e\xc7\xc8\xfc\xde\x52\x32\xe4\x39\x43\xf7\x0f\x69\xb1\xa1\x77\x7c\xed\x67\x69\x6f\x4d\x74\xfd\xd8\x30\x38\xf7\x43\x24\x2d\xc3\xdb\x3e\x86\xfb\xb7\x3e\x4b\xed\x40\x7a\x96\x0e\x8b\xaf\x32\xde\x75\x4a\x39\x97\xd4\x17\xa9\x1d\x6a\x2d\xfa\x41\x4f\x69\xf7\x34\xef\x1f\x80\xf8\xa9\x97\x21\xd7\xaf\xf1\xbc\x72\x4f\x08\xec\xb4\xaf\x27\xde\x84\xc8\x1c\x94\x45\xd7\x25\xbf\x05\x00\x00\xff\xff\xd9\xeb\xc6\x96\x5a\x18\x00\x00") +var _templateEntTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x58\x5f\x6f\xe3\xb8\x11\x7f\xb6\x3e\xc5\x9c\xe0\xbd\xb3\x0d\x87\xda\xde\x5b\xb7\x4d\x81\xdc\x26\xdb\x06\x58\xe4\xda\x26\x8b\x3e\x2c\x16\x77\xb4\x34\xb2\xd8\xc8\xa4\x97\xa4\x9c\x04\x82\xbe\xfb\x61\x48\x51\xa6\x6c\x27\x97\xbd\x7b\xb2\x45\xce\xdf\xdf\x0c\x87\x33\x6c\xdb\x6c\x91\xbc\x57\xdb\x27\x2d\xd6\x95\x85\x1f\xdf\xfe\xe5\xaf\x67\x5b\x8d\x06\xa5\x85\x0f\x3c\xc7\x95\x52\xf7\x70\x2d\x73\x06\x17\x75\x0d\x8e\xc8\x00\xed\xeb\x1d\x16\x2c\xb9\xab\x84\x01\xa3\x1a\x9d\x23\xe4\xaa\x40\x10\x06\x6a\x91\xa3\x34\x58\x40\x23\x0b\xd4\x60\x2b\x84\x8b\x2d\xcf\x2b\x84\x1f\xd9\xdb\xb0\x0b\xa5\x6a\x64\x91\x08\xe9\xf6\x3f\x5e\xbf\xbf\xba\xb9\xbd\x82\x52\xd4\x08\xfd\x9a\x56\xca\x42\x21\x34\xe6\x56\xe9\x27\x50\x25\xd8\x48\x99\xd5\x88\x2c\x59\x64\x5d\x97\x24\x6d\x0b\x05\x96\x42\x22\xa4\x1b\x55\x60\x9d\x42\xbf\x3a\xdd\xde\xaf\xe1\xdd\x39\xac\xb8\x41\x98\xb2\xf7\x4a\x96\x62\xcd\xfe\xcd\xf3\x7b\xbe\x46\x22\x6a\x5b\xb0\xb8\xd9\xd6\xdc\x22\xa4\x15\xf2\x02\x75\x0a\xd3\xc0\xbe\xdf\x12\x9b\xad\xd2\x36\x6c\xf9\x2f\x98\x25\x93\xb6\x3d\x03\xcd\xe5\x1a\x61\xba\xe5\xb6\x22\x5d\x53\x76\x2b\x56\xb5\x90\xeb\x6b\x47\x65\x88\x63\x32\x49\x9d\x35\x44\xd2\x75\xa9\xe7\x43\x59\xd0\xde\x3c\x49\xb2\x0c\x68\x9b\xdd\xf0\x0d\x59\x45\x18\x12\x00\xce\x17\x40\x69\x85\x7d\x82\x52\x79\x24\x47\x84\x26\xaf\x70\xc3\x59\x62\x9f\xb6\x87\x3b\x56\x37\xb9\x85\x36\x99\xe4\xce\x69\x18\xb9\xe3\x24\x67\x6a\x23\xac\xe5\x6b\xd3\xbb\x35\xc9\x32\xb8\xbe\xf4\x38\x23\xa9\x65\xc9\xe4\xfa\xd2\x8b\xbd\xbe\x64\x77\xa4\xa3\xeb\xe8\xfb\x41\xd8\x0a\xa6\xec\x42\x4a\x65\xb9\x15\x4a\x1a\xf6\x41\x60\x5d\x18\x76\xeb\xd4\xde\xf1\x35\x13\xe4\xdc\xaf\x6d\x0b\xac\xff\xc5\xda\x60\xff\xd7\xc9\x1b\x48\xc3\xbe\x87\x23\x86\xb4\xf4\x78\x7a\xd9\x1e\x47\xda\x9d\x5a\xee\xa2\x3a\x2d\x47\x42\x06\xc3\xc8\x27\xcf\xf9\x92\x85\x11\x87\x90\x05\x3e\xf6\x7c\xd3\x32\x60\x48\x86\x92\xa6\x73\xe7\xc2\x60\x61\x64\xea\xa4\x0f\x5c\xb0\xc3\xa9\x20\x8c\x2a\x45\x06\x13\x8c\x3b\x5e\x37\x18\x30\x4d\x3d\x71\x2f\x3f\x85\x92\xe8\x99\xf3\xea\x84\x90\xb6\x05\x51\x3a\x7a\x51\xd7\x7c\x55\x13\xcf\x22\x36\x63\x5a\xc6\x41\x11\x25\x48\x65\x9d\x1c\x94\x46\x58\xb1\x1b\xe0\xb6\x7b\x90\x7d\x10\x7e\x37\x19\x0e\xe2\x11\xff\xef\x83\x7f\x55\xac\xd1\x0c\x28\xf8\xaf\xbd\xdb\x1a\x6b\x0f\x7b\x86\x6e\x87\xb2\x57\xd9\x0a\x35\x48\x55\xa0\x09\x47\x7c\xad\xf9\xb6\x62\x5e\xc4\x5d\x40\xcb\x00\xd7\x08\x2b\x14\x72\x0d\x5b\xb5\x6d\xc8\xca\x02\x56\x4f\x47\xe9\xff\x9f\x06\xf5\x13\x3c\x54\x28\x01\xf9\x1a\xf5\x59\xad\x78\x41\x5c\x54\x25\x90\xd2\x77\xe2\xed\x8a\x99\x86\x95\x43\x00\xc8\xd0\xf8\x34\x04\xbf\xcf\xc2\x47\xb6\x80\x8b\xa2\x10\xe4\x16\xaf\x7d\xec\x0c\x58\x05\xbc\x18\xac\x33\x56\x69\xaa\x2c\x85\x16\x3b\xd4\x0c\x5c\x79\xea\x73\x76\xb3\xad\x29\x29\xb7\x5a\x48\x5b\x42\x5a\x08\x5e\x63\x6e\xb3\x37\x26\xf3\xfa\xbd\xc0\x94\xea\x47\x2f\x25\xf0\x8a\x12\x2a\x6e\xee\x82\xbd\x5e\xd4\x70\x1a\x1e\xed\x78\x83\x9d\x8c\xda\x2b\x8c\x6f\x4c\x6c\xf2\x11\x3e\x9e\x27\xe3\x83\x94\x1e\x28\x57\x2a\x8f\xd3\xe2\xa0\xa6\xfd\xb9\x04\x39\xaa\x6f\x5e\xdc\xbe\xc8\x45\x45\x03\x09\x65\x36\x3a\x9f\xf8\xca\xf3\xe9\x69\x43\x09\x25\xc3\xc2\xe1\x3c\x92\x10\x1d\x38\x64\x9f\xa4\xf8\xda\x10\xcf\xe7\x2f\xc3\xc1\x59\x78\x36\x3a\xa0\x83\xc4\xa1\x42\xe1\x51\xf5\x63\x27\xaa\x60\xf8\x9f\x65\x40\x99\x8d\x05\x09\x8b\x41\x14\xb2\x54\x7a\xe3\x70\x74\x00\x6a\xa4\x1b\xc7\x9d\x80\x12\xb8\x63\x74\xc8\x3d\x70\xd3\x4b\x80\x99\x23\xfb\xda\xa0\xb1\x58\xcc\x09\xe6\xf1\xd1\x51\x14\x00\x3a\x3a\xb1\xc6\xcf\x6d\x0b\x35\x4a\x67\xe4\x97\x95\x52\x75\x08\x7a\x0f\xb9\x58\x8e\x60\x7f\x06\xf5\x9f\xf5\x95\x26\xe5\xb6\xd1\xd2\x44\x78\x1f\x20\xdb\x47\x44\x03\x97\x80\x5a\x2b\x4d\xce\xb8\x1b\xa9\x58\xa3\x13\x4e\xee\x10\xf2\xbd\x4b\x87\x3e\xf4\x75\x33\x0a\xcb\x92\xc4\xf5\xd4\xab\xc6\x0e\x02\x5c\x0b\x32\x80\xce\x92\x49\xd9\xc8\x1c\x66\x27\x52\x6d\xfe\xbc\x47\xb3\x39\xcc\xfe\x48\x36\x2c\xbd\x77\x73\x4a\xdf\x89\x28\x01\x59\x04\x39\x21\x3e\x15\x04\xb7\xdb\x0e\x65\x20\x96\x4e\xcb\x9e\xef\x24\x8c\xe7\xe7\x20\x45\xed\xb9\x87\xfa\x4a\x10\x1e\x64\x79\x94\x1b\x87\x40\x2e\x07\xde\x23\xd0\x98\xdf\xf2\xc1\x24\x45\x4b\xf8\xfe\x46\xd9\x0f\xb4\x77\x45\x6e\xb5\x35\x5f\x61\xfd\x0e\x22\xbf\xf7\x6d\x17\xfb\x48\x9b\xde\x83\x2e\xb8\x37\x5c\xaa\x41\xea\x69\xc7\x96\xa4\x2d\xf1\x7c\x87\xea\x3f\x3a\x3f\xbc\x7e\x72\xf5\x9d\xbf\x71\x07\x67\xd3\x2e\x99\x74\x49\xa4\x2c\xfa\xeb\xda\x45\x57\x40\x4f\xd6\xe8\x02\xa9\xbb\xcd\x94\xc4\x83\x0a\xdd\xb6\x47\x15\x78\xe8\x1f\xa7\x1a\x73\xa4\x9b\xc0\x77\x23\xff\x0d\x5f\xfd\x76\x5c\xb0\xe2\x0b\xd5\x5d\xed\x94\x89\xe1\xba\x80\xd4\x5d\x75\xe9\x31\x1a\xc3\x61\x73\xf4\x5d\x07\x5f\x1b\xd4\x02\xcd\x33\xe5\x2c\x2e\x74\x61\x63\x48\xfb\x91\xc1\x5d\x07\x8b\x98\x6a\x1e\x6b\x99\xcd\x21\x4e\x68\x67\xdc\x50\xe3\xf6\x71\x99\x7d\x1f\x4b\x78\x5f\x0b\x94\xb6\xf5\xed\xa8\x4f\x8c\x48\x1b\xf3\xeb\xdd\x9c\xc5\x7a\x0e\x88\xe6\x3e\x7c\x43\xc8\xb2\x0c\x3e\x6d\x0b\x02\x3e\x54\x15\x0e\xab\x46\xd4\x34\x75\x50\x3d\x6c\x68\x93\xaa\x9a\x1b\x1c\xc6\x4e\x67\x19\xdc\x28\x8b\x60\x2b\x6e\x97\xf0\xa4\x1a\x90\x88\x05\x5d\x89\x39\xaf\xeb\x31\xf1\x27\xf9\xa0\xf9\x76\x36\x87\x15\x96\x4a\xa3\xa3\x18\xc4\x6e\xd0\x56\xaa\x58\xfa\x2a\x75\xa0\x26\xe9\xab\x95\x37\x0f\x0b\x28\xb5\xda\x00\x07\xab\xb9\x34\x3c\xa7\xc2\xbd\x04\x2e\x0b\x17\x94\x68\xd1\x31\xe5\x6a\x43\x3d\x19\x16\x54\xbd\xb4\xaa\x6b\xaa\x5e\x3c\xbf\x67\xc9\xab\xe2\xe5\x91\x09\xa1\x62\xfe\xf3\x67\x89\x51\xa0\xfe\x54\x9c\x06\x81\xc7\x51\xea\x43\xe3\x50\x83\xc6\xfd\x98\x30\x54\xd0\x2c\x43\x98\xff\x1e\x2e\xc0\x4b\x8b\x1a\x84\x27\xcc\x6b\x65\xb0\x58\x92\x58\xa3\x3c\x3f\x45\x49\xe2\xa3\x1d\x52\xfe\x41\xd4\x35\xac\x10\xf0\x11\xf3\x86\x60\xb3\x95\x56\xcd\xba\x72\x9a\x7d\x47\x06\x0f\x95\xc8\x2b\xc8\x35\x72\x4f\x30\x42\xfd\xb5\xc0\x86\x6c\x18\xad\x13\x9e\xf6\x71\x09\xea\x9e\x8e\xed\x69\xd4\x58\xdf\x17\xce\x16\xf6\xf1\xd2\xfd\x9d\x27\x54\xc2\xbf\x53\xf7\xee\xdc\x6c\xb9\x14\xf9\x2c\x0d\x83\x6b\xd7\xbd\x3b\x9a\x0b\xa9\x02\x8f\x70\xe2\x61\x42\x4c\xdd\xe9\x98\xbc\xa8\x19\xce\xc1\x3e\xb2\x42\xef\x86\xd8\x1f\x90\xf7\xa1\xbb\xb5\xda\x75\x11\x9b\x6d\x8d\x1b\x94\xd6\x47\xaf\xdc\x58\xe6\x77\x50\xbf\x12\x2b\x4f\x3e\x9b\x53\xab\x46\x12\xdb\x64\xb2\xe3\x7a\x38\xa4\x7e\xd5\xb0\x9f\xfc\x77\x32\xe9\x37\xd8\xff\xb4\xb0\xd8\x33\xa7\xb1\xc8\x19\xb9\x79\x8a\xca\x19\xe7\x0b\xf7\x2c\x15\xc5\xf9\x9b\x5d\xba\x3c\x0a\xc3\xf5\xe5\x7c\x3e\x6a\x16\xa9\x73\x79\x66\xca\xf4\xb3\x57\x3c\x4b\xd1\xdd\x74\xd2\xc0\x25\x8c\x06\xbb\xf3\xbf\x9b\xc0\xf5\x0f\x32\xd7\x5f\x6f\x7e\xf2\x0a\xb7\xdd\xd4\x94\xf1\x34\xf0\xc6\xb0\x37\xd4\xfb\x0f\xc6\x1e\x8d\x83\x71\x17\x30\x1a\x09\x43\x1f\xb0\x0b\x79\x67\x4a\xe8\xba\xbf\xc1\x0e\xbe\x1b\xb5\x00\xaf\xb2\xdc\x99\xbb\xd7\x44\xa5\x69\x5a\xb2\x6b\x73\x27\x36\x08\xb3\x7e\xbe\xfc\x17\x37\xff\x54\x54\xf9\xe7\x41\xfd\x69\xe9\x3b\xf6\xc1\xb5\xa7\x33\x2b\x36\xc8\x2e\x6e\x6e\xaf\xdf\xcf\x23\xf9\x0e\x91\x58\x49\x9f\x75\xdf\xaa\x66\xb1\x3b\x14\xfa\x22\xf9\x28\x51\x5c\x96\x2c\x76\x23\xb3\x86\x3e\x24\xea\x4d\x22\xa9\xdf\x82\xe3\xb7\xc2\x78\x4a\xf6\x10\xd2\x67\xd1\xfc\x83\x60\xbe\xa8\xec\x40\xf2\x4b\x3c\xc7\x80\xee\xa5\x44\x62\x64\x9c\xc5\xc3\xd7\xe1\x9c\x1a\xfe\x8f\x14\xfd\xf4\x64\x71\xf6\xc3\xfc\x87\xf9\x50\xb6\xc2\x76\xa8\x2f\x49\xdf\x70\x99\x5a\xe4\xae\x9f\xda\xd6\x8d\xe6\xf5\xf8\x26\xde\x13\xf8\x5a\xca\x61\xcb\xb5\x71\xc7\xc8\x2f\xab\xf2\xa0\x49\x18\xe6\xce\x81\xed\xf3\x97\x51\x85\x73\x5a\xdd\x4c\x87\x8f\x96\x6c\x9f\x42\x7a\x4b\xb4\xe9\x9e\xc7\xd7\xe4\x17\xe6\xff\xbe\xb7\xdc\x70\xf9\x74\x3c\xfe\x9f\x9e\xef\xa3\x26\xe8\x74\x1d\x8e\x8d\x9e\x83\xbf\x04\x66\x79\xb9\xee\xff\xba\xa9\x83\x5a\xa4\x5f\x04\x19\xe5\xab\xe1\x91\x8c\x7e\xf8\x8d\xd6\x3e\xff\x22\xbe\xf4\x57\x0a\x9c\x43\x5e\xae\xe9\xce\x19\x99\xd3\xb6\xd9\x02\x2e\xf6\xaf\x07\xa4\x64\x8d\x12\x75\xe8\xc4\x10\x2c\x5f\x87\x46\x34\x9e\xe3\xcf\xfc\x73\x98\x7f\x81\x38\x7c\xd2\x8d\x9e\x67\xa2\x97\xbe\xd1\x03\x9f\x93\xf5\xfc\x60\xdd\x3f\x3f\xfe\xdf\x28\xf9\x2e\x75\x8f\x0e\xe9\xaf\x27\x1e\xf5\x4e\x3a\xe0\x1e\xc7\xc8\xfc\xde\x52\x32\xe4\x39\x43\xf7\x0f\x69\xb1\xa1\x77\x7c\xed\x67\x69\x6f\x4d\x74\xfd\xd8\x30\x38\xf7\x43\x24\x2d\xc3\xdb\x3e\x86\xfb\xb7\x3e\x4b\xed\x40\x7a\x96\x0e\x8b\xaf\x32\xde\x75\x4a\x39\x97\xd4\x17\xa9\x1d\x6a\x2d\x8a\x02\x25\x4d\x7a\x4a\xbb\xb7\x79\xff\x02\xc4\x4f\x3d\x0d\xb9\x86\x8d\xe7\x95\x7b\x43\x60\xa7\x9d\x3d\xf1\x28\x44\xf6\xa0\x2c\xba\x2e\xf9\x2d\x00\x00\xff\xff\xe6\x0a\xfa\x6c\x5b\x18\x00\x00") func templateEntTmplBytes() ([]byte, error) { return bindataRead( @@ -925,7 +925,7 @@ func templateEntTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/ent.tmpl", size: 6234, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "template/ent.tmpl", size: 6235, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/entc/gen/template/ent.tmpl b/entc/gen/template/ent.tmpl index 6e1f33a4b..df61160fa 100644 --- a/entc/gen/template/ent.tmpl +++ b/entc/gen/template/ent.tmpl @@ -162,5 +162,5 @@ func ({{ $receiver }} {{ $slice }}) config(cfg config) { {{/* A template for omitting struct-tags. */}} {{ define "model/omittags" }}{{ with $.TagTypes }}`{{ range $i, $t := . }}{{ if ne $i 0 }} {{ end }}{{ $t }}:"-"{{ end }}`{{ end }}{{ end }} -{{/* A template that can be overrided in order to add additional fields to the each type.*/}} +{{/* A template that can be overridden in order to add additional fields to the each type.*/}} {{ define "model/fields/additional" }}{{end}}