diff --git a/entc/gen/internal/bindata.go b/entc/gen/internal/bindata.go index 8ca441710..1c6acb2ed 100644 --- a/entc/gen/internal/bindata.go +++ b/entc/gen/internal/bindata.go @@ -1024,7 +1024,7 @@ func templatePrivacyTmpl() (*asset, error) { return a, nil } -var _templateRuntimeTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\x5b\x6f\xe3\xba\x11\x7e\xb6\x7e\xc5\xd4\x70\x01\x7b\xeb\xd0\xc9\xbe\x35\x85\x1f\x4e\xf7\x82\x13\xa0\xbb\x5d\x20\xbb\x7b\x1e\x82\xc5\x82\x96\x46\x16\x4f\x24\x52\x25\xa9\x6c\x02\x43\xff\xbd\x18\x5e\x24\xca\xb1\xb3\xc5\x29\x0a\xf4\x25\x16\xc9\x99\xe1\xcc\x37\x57\xe6\x70\xd8\xbc\xca\xde\xa8\xf6\x49\x8b\x7d\x65\xe1\xf5\xe5\xd5\x5f\x2f\x5a\x8d\x06\xa5\x85\xf7\x3c\xc7\x9d\x52\xf7\x70\x23\x73\x06\xbf\xd4\x35\x38\x22\x03\x74\xae\x1f\xb0\x60\xd9\xe7\x4a\x18\x30\xaa\xd3\x39\x42\xae\x0a\x04\x61\xa0\x16\x39\x4a\x83\x05\x74\xb2\x40\x0d\xb6\x42\xf8\xa5\xe5\x79\x85\xf0\x9a\x5d\xc6\x53\x28\x55\x27\x8b\x4c\x48\x77\xfe\x8f\x9b\x37\xef\x3e\xde\xbe\x83\x52\xd4\x08\x61\x4f\x2b\x65\xa1\x10\x1a\x73\xab\xf4\x13\xa8\x12\x6c\x72\x99\xd5\x88\x2c\x7b\xb5\xe9\xfb\x2c\x73\x36\x7c\x26\x96\x4e\x5a\xd1\x20\x58\x6c\xda\x9a\x5b\x84\x3d\x4a\xd4\xdc\xa2\x71\x12\x4d\x5e\x61\xc3\x2f\x8c\x15\x36\xaf\x84\xdc\x43\xad\xf6\x22\x07\x2e\x0b\xa8\x54\x5d\x38\xa2\xac\x51\x45\x57\x23\x3c\xa0\x36\x42\x91\x26\xdc\xc2\x0f\x6e\xa0\x23\x8b\xac\x1a\x44\x3a\x89\xdc\x18\xb4\x86\x65\xd9\x8d\x85\x8a\x1b\x78\x0d\xa5\xd2\x0d\xb7\x86\xc1\x2f\x30\x0f\xea\xcc\xa1\xe5\xf9\x3d\xdf\xa3\x17\x66\x2a\xd5\xd5\x05\xec\x10\xb0\x69\xed\xd3\x85\x68\x5a\xa5\x2d\x16\xc1\xee\xac\xe1\x42\x0e\x1c\xa5\xd2\x41\x6d\x03\x3f\x84\xad\xa0\x52\xea\xde\x80\xd2\xd0\xaa\x5a\xe4\x02\x0d\x2c\x5b\x65\x51\x5a\xc1\x6b\xc8\x9f\xf2\x5a\xe4\x41\xe2\x8a\x39\x4c\x0c\xe6\x4a\x16\x41\x2f\x72\x4f\x34\x20\xf5\xcf\x1c\xa5\x1d\xd4\x5c\x3b\x44\x52\xe5\x40\x98\x4c\x2a\x0b\x12\x73\x34\x86\xeb\x27\x58\x4a\x05\xaa\xb5\x84\x10\xa9\x78\x74\x31\x3c\xbf\x38\xc2\x77\x8f\xd8\x66\x3b\x9e\xdf\xff\xe0\xba\x30\x17\xb9\x6a\x5a\x6e\xc5\x4e\xd4\xc2\x3e\x79\x0b\x5b\x8d\x0f\x42\x75\x26\xba\xc0\x90\xeb\x51\xda\xd1\xdb\x50\x60\x29\x24\x0e\x00\x6f\x9c\xf6\x7d\x9f\x01\x00\x1c\x0e\xa3\xfb\x47\x0f\x2c\xe8\xf8\x70\x00\x94\x05\x9c\x11\xd2\xde\xef\x53\x21\x4e\x17\x7c\xb4\xc4\xb1\x80\xf9\x27\x8f\xcd\x3c\x91\x19\x68\xcf\x5f\xca\x12\x71\xe1\xe2\xd9\xe1\x00\x8b\x10\x62\xd7\x5b\x58\xb0\x0f\xee\xfb\x46\x96\x2a\x1e\x8b\x92\xdc\x1b\x88\xd8\xd7\x10\x87\x71\x7d\xdb\x35\x8e\x30\x57\xd2\x58\x58\x66\xb3\xd9\xe1\x70\xe1\x95\x3d\x66\x21\xb2\xd9\x2c\xae\xb6\x30\x3f\x1c\x9c\x4a\x73\xd8\x6c\x20\x6e\x7b\x6c\x5d\xee\xee\x51\xb2\x20\x2f\x6a\xfb\x5c\x78\xbc\x7f\x36\xa3\xaf\x23\xa1\xb4\xf5\xb2\xc0\x95\x33\x31\xac\x5e\xf4\xc7\x3c\xee\x8f\xc0\x56\xc8\x0b\xd4\x01\x57\x3a\x5a\xf8\x6c\xb8\xde\xc2\x65\x90\xa7\xb9\xdc\x23\x2c\xa4\x07\xf7\xa3\x2a\xd0\x0c\xb0\xcb\xae\xf9\x35\xd2\x2f\x24\xfb\x18\x97\x7d\xef\x51\x5f\x48\xf6\x2b\x37\x9f\x28\xaf\x9e\xfc\xe6\xc8\xb2\x05\x5e\x14\xc9\xfa\xca\x13\xa4\x5e\xad\x52\x42\xbf\x18\xe9\x27\xd6\x12\xb5\xb6\xed\xfd\x9e\x34\x29\x79\x6d\x70\xd0\xa1\xe2\xe6\xbd\xc0\xda\x85\xdc\x6d\xae\x5a\x07\xc3\x48\xbf\x05\xfc\x17\x2c\x98\x3b\x61\x21\x24\x27\x88\x4d\x21\x25\xa3\x3c\x63\xdf\x03\x55\x49\xb8\x32\x36\x66\xe4\x45\x2c\x97\x9b\xf0\xcb\xf6\x0a\x5c\x8a\x85\x28\x0c\x46\xc4\x20\x9e\x9d\x0a\xf2\x8d\xc6\xbd\x30\x96\xbc\xb2\x88\x48\xa0\x37\x28\x9b\xcd\x36\x1b\x5f\x09\x4e\xd7\xdd\x49\x2d\x12\x92\xb2\x64\xc1\xde\x28\x59\x8a\xfd\x60\x5b\xdf\x27\xda\x1d\xc7\x4e\x04\x6e\xf3\x0a\x5e\x8f\x95\x86\x82\xcd\x9e\xb3\x89\xaa\xd8\xff\x97\x5d\x2f\xd8\xf7\x2c\x4b\x5c\xa7\x83\xa8\x5a\xb8\x1f\x2a\x2e\x8b\x1a\xb5\xa1\xf2\x6a\x9f\x5a\x8c\x75\xdc\x78\xcb\x4f\x94\xba\xd1\xb8\xbe\xcf\x42\x89\x5f\x66\x49\xb2\x47\x75\x6f\xfd\x0d\xce\xe8\x21\xd3\xb3\x34\xa3\xfd\xe2\x5c\xda\x39\xa6\x53\xc6\xbb\xe4\x4a\x36\xe6\x83\xed\x17\x4e\xe8\x7c\x2f\x6c\xd5\xed\x58\xae\x9a\x4d\x19\xc6\x10\x21\xf3\x6e\xc7\xad\xd2\xae\xde\x67\xab\x2c\xcb\x82\x23\x84\x14\x16\xca\x4e\xe6\xae\x21\x69\xe4\x85\x01\x5e\xd7\x11\xa0\x02\x4d\xae\x45\x6b\x95\x0e\x4d\x34\xe0\x40\xec\x6e\x68\x59\x16\x58\xf2\xae\xb6\xf0\xc0\xeb\x0e\xcd\x9a\x7e\x45\xc1\x1d\x83\xd2\xbe\xe7\xae\x5c\x57\xf4\xbe\x46\x03\xc2\x12\x37\x21\x5e\xa1\xd0\x43\xbf\x7e\xe0\x5a\xf0\x5d\x8d\x86\x65\xa4\x8f\xd3\x6c\xb9\x82\x43\xf6\x12\x4a\x74\xb6\x08\xe5\x60\x0a\x4b\x38\x0b\x76\x5c\x6f\x61\xc7\x0d\x9e\x74\x0f\xd1\x3d\xaf\x61\xd9\x6c\xd6\xfa\xef\xeb\xad\x8b\x43\x13\x39\x98\xf7\xc0\x47\xde\xb8\x1c\xea\x99\xe7\x59\xae\x5c\xc1\x86\x56\x0b\x69\xbd\x52\x73\xe6\x4a\x18\xc5\xca\xdd\xe5\x37\xd8\x3a\xa0\x97\x12\x1f\xad\xeb\xca\x1f\x3a\x4b\x40\xad\xd2\x05\x1c\xa8\x41\x68\xb4\x9d\x96\xe3\x3e\xbe\x27\x46\xc7\x9d\xdb\x47\xc8\x95\xb4\xf8\x68\xc9\x16\xfa\x5d\x43\x33\x92\x0a\x25\x57\xb0\xa4\xe5\x57\xf2\xc8\x1a\x50\x6b\xba\xc3\xc9\x9d\x89\x92\xd6\x64\x92\x37\x8e\xbd\x7b\xe0\xf5\x6f\x5a\x58\x24\xc1\x6b\x68\x56\x7f\x73\x04\x7f\xda\x82\x14\x75\x60\x8a\xea\x48\x51\x3b\x71\x6e\xd3\x35\xb2\xe1\x84\xb4\xf1\x9a\x46\x39\x74\xdc\xd3\xdf\x7e\x12\xf4\x09\xda\x49\x17\x79\x8e\xdc\x00\xdc\xcf\xe1\x77\xa4\x0e\x7d\x9a\xa7\xc4\x1a\x2a\xe2\xf1\x11\x73\x56\xaa\xb3\xec\xbc\xb7\xc4\xc9\xbe\xf6\x97\xab\xa1\xa2\x90\x37\xab\xb3\xd6\xd1\x14\xe2\x58\xdf\x86\xec\xf0\xab\xaf\x63\x6e\x1c\x8d\x08\x92\x7d\x10\x8f\x58\xdc\xc8\xdf\x84\xad\x02\xd3\x3f\xf5\x40\x1f\xe6\x06\xb2\xdc\xb7\xa4\x0f\xe2\x51\xc8\x9f\x43\xe3\xc8\x1c\x34\xc7\xbc\xae\x55\xba\x7e\x7e\xc7\x18\xfb\x76\xf7\x8d\x22\xc6\x6d\x7a\x9f\x27\x49\x27\xd6\xb0\xf8\x4e\x94\x8f\x31\x0b\xc9\x75\x5e\x03\xaf\xd7\x33\xe9\x77\xb4\x16\x04\x93\x97\x69\x96\xab\xf5\x20\x76\x98\x90\x66\xfd\xf9\x99\x49\x06\xc6\x67\x96\x8f\x8a\xbf\x6c\x7a\xbc\x97\xb8\xbf\x83\xa7\x4e\x25\x9c\xba\x3a\x31\xb8\x0c\xa3\xce\x91\x16\x17\xb0\xa0\x92\xe8\x12\x28\x89\x9c\xb7\x68\xf2\x39\x2c\x4a\x76\x6b\x75\x97\x5b\x3f\x87\x8c\x3c\x9b\x57\x80\xb2\x6b\x60\x5a\x2b\x43\xf7\x29\x40\x22\xd7\xa1\x18\x16\x98\xd7\x5c\xbb\x2c\x36\xb0\xa4\x67\x4d\xd2\x95\x56\x2c\x34\xe4\x59\x12\x67\x4b\xaa\xad\x8b\x92\xc5\x48\x5b\xba\x3e\x5d\xb2\x1b\xf3\x4e\x76\xcd\x6a\x45\xdf\x5f\xda\x82\x5b\x1c\x62\xb1\x64\xc7\x81\x38\x08\x5c\x94\xec\x93\x32\x82\xee\x8f\x11\x39\xf8\x78\xb3\x71\x20\x3a\xfb\xfb\x9e\x7a\xf5\xf8\x32\x4c\x1a\x85\x7b\xd5\x10\x61\x19\xbd\x01\x25\xe1\xc1\xc6\x48\x89\x22\xae\x53\xb7\x24\x61\x79\xe7\xd9\x53\x4d\x84\xbc\x91\x05\x3e\x52\x48\x1d\x9f\x0e\x07\xec\xed\xa0\x84\xf7\xbb\xf7\xf0\x30\x7b\xfc\xef\x6d\x38\xad\xfe\xcf\x14\x94\x69\xac\x4c\x02\x52\x94\xf0\xb2\x7b\xa7\x81\xe9\x49\x8e\x62\x93\xcd\x13\xfe\x60\x4d\x96\x42\xe1\xb9\xfa\x7e\x7c\xc9\x4f\x03\x15\x94\x84\x5c\x23\x1f\x9e\xac\x44\x71\x0e\x9c\x23\x91\xdb\x14\xee\xa8\x04\x5b\x8e\x6f\x35\xb2\xe4\xb3\x68\xd0\x7f\x7d\xf9\x72\xf3\x16\xfa\xde\x35\xba\xd5\xf8\xf6\xf3\x97\x7d\xa6\x54\xe8\xfb\xd5\xa9\xcc\xf5\xa1\x3b\x8d\xf3\xff\x14\x9a\x09\xd7\x1f\x05\xa8\x73\x42\xfe\x3b\x78\x26\x8a\x44\x90\x46\x84\xfe\x08\x2e\xbe\x98\x9e\x48\x78\x07\x8b\x24\xfd\x4e\x62\xf2\xbc\xf3\x5c\xc0\xc2\xd5\x22\x1a\xb4\x1c\x7d\x09\x73\x37\xa7\x2d\xff\x6c\x56\x7e\xc8\x98\x27\xda\x24\x00\xca\x80\x82\x30\xc0\xc7\xf1\x70\x80\x6a\x3e\xc1\x6a\x1e\xc0\x82\x1b\xf7\x1f\x97\x9c\xd7\x54\x21\x77\x4f\x8e\x74\xd7\x89\xba\xa0\x71\x7d\x87\xa5\xd2\x08\x86\x3f\x20\x4b\xca\x21\xbd\xf0\x26\xb6\x5e\x8d\xe5\x6d\xd4\x63\x0a\xfa\x48\x7d\x77\xf9\xcd\x81\xee\xed\xf4\x80\x3e\xab\x20\x53\x41\xa3\x43\x22\x53\x1c\x99\x92\x31\xf8\xfa\xdc\x85\x9e\xb2\x94\x63\x1b\x76\xf2\xa6\x5e\xf5\xd0\x46\xb1\x69\x9b\xfa\x7d\x1d\x06\xe2\xd8\x97\x4f\xd5\xf5\x89\x2a\xae\x30\xfd\xee\x2a\xd1\xf2\xec\x55\xa1\x53\x1f\xd7\xa6\x38\xf1\xc5\x91\x2f\xe1\xff\xbb\x77\x4b\xec\x7a\xf0\xa2\x01\xe4\xf6\xef\x6b\x28\xe5\x38\xa4\x11\x02\xf1\x38\x99\x50\x4b\x79\x5a\xfe\xc9\x11\x35\x19\x9a\xc3\x80\x3a\x6a\x3c\xfc\x8e\x73\x6c\x6a\x51\xbf\x5c\x9d\x2c\xbe\xe9\x4c\x37\x3c\x28\x4f\x7d\xfa\xff\x18\x84\xc5\xbf\x03\x00\x00\xff\xff\xa3\x6a\x87\x75\x16\x16\x00\x00") +var _templateRuntimeTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\x5b\x6f\x1b\xbb\x11\x7e\xd6\xfe\x8a\xa9\xa0\x02\x52\x2a\x53\x76\xde\xea\x42\x0f\xa7\xb9\xe0\x18\x68\xd2\x00\x4e\x72\x1e\x8c\x20\xa0\x76\x67\xb5\x3c\x5e\x91\x5b\x92\xeb\x58\x10\xf6\xbf\x17\xc3\xcb\x2e\x57\x17\xa7\x38\x45\x81\xbe\x58\x4b\x72\x66\x38\xf3\xcd\x95\x3e\x1c\x56\xaf\xb2\x37\xaa\xd9\x6b\xb1\xad\x2c\xbc\xbe\xbe\xf9\xeb\x55\xa3\xd1\xa0\xb4\xf0\x9e\xe7\xb8\x51\xea\x11\xee\x64\xce\xe0\x97\xba\x06\x47\x64\x80\xce\xf5\x13\x16\x2c\xfb\x5c\x09\x03\x46\xb5\x3a\x47\xc8\x55\x81\x20\x0c\xd4\x22\x47\x69\xb0\x80\x56\x16\xa8\xc1\x56\x08\xbf\x34\x3c\xaf\x10\x5e\xb3\xeb\x78\x0a\xa5\x6a\x65\x91\x09\xe9\xce\xff\x71\xf7\xe6\xdd\xc7\xfb\x77\x50\x8a\x1a\x21\xec\x69\xa5\x2c\x14\x42\x63\x6e\x95\xde\x83\x2a\xc1\x26\x97\x59\x8d\xc8\xb2\x57\xab\xae\xcb\x32\x67\xc3\x67\x62\x69\xa5\x15\x3b\x04\x8b\xbb\xa6\xe6\x16\x61\x8b\x12\x35\xb7\x68\x9c\x44\x93\x57\xb8\xe3\x57\xc6\x0a\x9b\x57\x42\x6e\xa1\x56\x5b\x91\x03\x97\x05\x54\xaa\x2e\x1c\x51\xb6\x53\x45\x5b\x23\x3c\xa1\x36\x42\x91\x26\xdc\xc2\x0f\x6e\xa0\x25\x8b\xac\xea\x45\x3a\x89\xdc\x18\xb4\x86\x65\xd9\x9d\x85\x8a\x1b\x78\x0d\xa5\xd2\x3b\x6e\x0d\x83\x5f\x60\x1a\xd4\x99\x42\xc3\xf3\x47\xbe\x45\x2f\xcc\x54\xaa\xad\x0b\xd8\x20\xe0\xae\xb1\xfb\x2b\xb1\x6b\x94\xb6\x58\x04\xbb\xb3\x1d\x17\xb2\xe7\x28\x95\x0e\x6a\x1b\xf8\x21\x6c\x05\x95\x52\x8f\x06\x94\x86\x46\xd5\x22\x17\x68\x60\xde\x28\x8b\xd2\x0a\x5e\x43\xbe\xcf\x6b\x91\x07\x89\x0b\xe6\x30\x31\x98\x2b\x59\x04\xbd\xc8\x3d\xd1\x80\xd4\x3f\x53\x94\xb6\x57\x73\xe9\x10\x49\x95\x03\x61\x32\xa9\x2c\x48\xcc\xd1\x18\xae\xf7\x30\x97\x0a\x54\x63\x09\x21\x52\xf1\xe8\x62\x38\xbd\x38\xc2\xf7\x88\xd8\x64\x1b\x9e\x3f\xfe\xe0\xba\x30\x57\xb9\xda\x35\xdc\x8a\x8d\xa8\x85\xdd\x7b\x0b\x1b\x8d\x4f\x42\xb5\x26\xba\xc0\x90\xeb\x51\xda\xc1\xdb\x50\x60\x29\x24\xf6\x00\xaf\x9c\xf6\x5d\x97\x01\x00\x1c\x0e\x83\xfb\x07\x0f\xcc\xe8\xf8\x70\x00\x94\x05\x5c\x10\xd2\x3c\x6e\x53\x21\x4e\x17\x7c\xb6\xc4\x31\x83\xe9\x27\x8f\xcd\x34\x91\x19\x68\x2f\x5f\xca\x12\x71\xe1\xe2\xc9\xe1\x00\xb3\x10\x62\xb7\x6b\x98\xb1\x0f\xee\xfb\x4e\x96\x2a\x1e\x8b\x92\xdc\x1b\x88\xd8\xd7\x10\x87\x71\x7d\xdf\xee\x1c\x61\xae\xa4\xb1\x30\xcf\x26\x93\xc3\xe1\xca\x2b\x7b\xcc\x42\x64\x93\x49\x5c\xad\x61\x7a\x38\x38\x95\xa6\xb0\x5a\x41\xdc\xf6\xd8\xba\xdc\xdd\xa2\x64\x41\x5e\xd4\xf6\x54\x78\xbc\x7f\x32\xa1\xaf\x23\xa1\xb4\xf5\xb2\xc0\x85\x33\x31\xac\x5e\xf4\xc7\x34\xee\x0f\xc0\x56\xc8\x0b\xd4\x01\x57\x3a\x9a\xf9\x6c\xb8\x5d\xc3\x75\x90\xa7\xb9\xdc\x22\xcc\xa4\x07\xf7\xa3\x2a\xd0\xf4\xb0\xcb\x76\xf7\x6b\xa4\x9f\x49\xf6\x31\x2e\xbb\xce\xa3\x3e\x93\xec\x57\x6e\x3e\x51\x5e\xed\xfd\xe6\xc0\xb2\x06\x5e\x14\xc9\xfa\xc6\x13\xa4\x5e\xad\x52\x42\xbf\x18\xe8\x47\xd6\x12\xb5\xb6\xcd\xe3\x96\x34\x29\x79\x6d\xb0\xd7\xa1\xe2\xe6\xbd\xc0\xda\x85\xdc\x7d\xae\x1a\x07\xc3\x40\xbf\x06\xfc\x17\xcc\x98\x3b\x61\x21\x24\x47\x88\x8d\x21\x25\xa3\x3c\x63\xd7\x01\x55\x49\xb8\x31\x36\x66\xe4\x55\x2c\x97\xab\xf0\xcb\xb6\x0a\x5c\x8a\x85\x28\x0c\x46\xc4\x20\x9e\x9c\x0b\xf2\x95\xc6\xad\x30\x96\xbc\x32\x8b\x48\xa0\x37\x28\x9b\x4c\x56\x2b\x5f\x09\xce\xd7\xdd\x51\x2d\x12\x92\xb2\x64\xc6\xde\x28\x59\x8a\x6d\x6f\x5b\xd7\x25\xda\x1d\xc7\x4e\x04\x6e\xf5\x0a\x5e\x0f\x95\x86\x82\xcd\x5e\xb2\x89\xaa\xd8\xff\x97\x5d\x2f\xd8\x77\x92\x25\xae\xd3\x41\x54\x2d\xdc\x0f\x15\x97\x45\x8d\xda\x50\x79\xb5\xfb\x06\x63\x1d\x37\xde\xf2\x33\xa5\x6e\x30\xae\xeb\xb2\x50\xe2\xe7\x59\x92\xec\x51\xdd\x7b\x7f\x83\x33\xba\xcf\xf4\x6c\x94\xd1\xf4\x7d\x29\xeb\x1c\xcf\x39\xdb\x5d\x6e\x25\x1b\x63\x99\xd9\x64\xba\x15\xb6\x6a\x37\x2c\x57\xbb\x55\x19\xa6\x10\x21\xf3\x76\xc3\xad\xd2\xae\xdc\x67\x8b\x2c\xcb\x82\x1f\x84\x14\x16\xca\x56\xe6\xae\x1f\x69\xe4\x85\x01\x5e\xd7\x11\x9f\x02\x4d\xae\x45\x63\x95\x0e\x3d\x34\xc0\x40\xec\x6e\x66\x99\x17\x58\xf2\xb6\xb6\xf0\xc4\xeb\x16\xcd\x92\x7e\x45\xc1\x1d\x83\xd2\xbe\xe5\x2e\x5c\x53\xf4\xae\x46\x03\xc2\x12\x37\x01\x5e\xa1\xd0\x7d\xbb\x7e\xe2\x5a\xf0\x4d\x8d\x86\x65\xa4\x8f\xd3\x6c\xbe\x80\x43\xf6\x12\x4a\x74\x36\x0b\xd5\x60\x0c\x4b\x38\x0b\x76\xdc\xae\x61\xc3\x0d\x9e\xf5\x0e\xd1\x9d\x96\xb0\x6c\x32\x69\xfc\xf7\xed\xda\x85\xa1\x89\x1c\xcc\x7b\xe0\x23\xdf\xb9\x14\xea\x98\xe7\x99\x2f\x5c\xbd\x86\x46\x0b\x69\xbd\x52\x53\xe6\x2a\x18\x85\xca\xc3\xf5\x37\x58\x3b\xa0\xe7\x12\x9f\xad\x6b\xca\x1f\x5a\x4b\x40\x2d\xd2\x05\x1c\xa8\x3f\x68\xb4\xad\x96\xc3\x3e\xbe\x27\x46\xc7\x9d\xdb\x67\xc8\x95\xb4\xf8\x6c\xc9\x16\xfa\x5d\xc2\x6e\x20\x15\x4a\x2e\x60\x4e\xcb\xaf\xe4\x91\x25\xa0\xd6\x74\x87\x93\x3b\x11\x25\xad\xc9\x24\x6f\x1c\x7b\xf7\xc4\xeb\xdf\xb4\xb0\x48\x82\x97\xb0\x5b\xfc\xcd\x11\xfc\x69\x0d\x52\xd4\x81\x29\xaa\x23\x45\xed\xc4\xb9\x4d\xd7\xc7\xfa\x13\xd2\xc6\x6b\x1a\xe5\xd0\x71\x47\x7f\xbb\xd3\x98\xf7\x68\x27\x4d\xe4\x14\xb9\x1e\xb8\x9f\xc3\xef\x48\x1d\xfa\x34\x4e\x89\x25\x54\xc4\xe3\x23\xe6\xa2\x54\x67\xd9\x65\x6f\x89\xb3\x6d\xed\x2f\x37\x7d\x41\x21\x6f\x56\x17\xad\xa3\x21\xc4\xb1\xbe\x0d\xd9\xe1\x57\x5f\x87\xdc\x38\x9a\x10\x24\xfb\x20\x9e\xb1\xb8\x93\xbf\x09\x5b\x05\xa6\x7f\xea\x9e\x3e\x8c\x0d\x64\xb9\xef\x48\x1f\xc4\xb3\x90\x3f\x87\xc6\x91\x39\x68\x8e\x79\x5d\xa7\x74\xed\xfc\x81\x31\xf6\xed\xe1\x1b\x45\x8c\xdb\xf4\x3e\x4f\x92\x4e\x2c\x61\xf6\x9d\x28\x9f\x63\x16\x92\xeb\xbc\x06\x5e\xaf\x13\xe9\x0f\xb4\x16\x04\x93\x97\x69\xe6\x8b\x65\x2f\xb6\x1f\x90\x26\xdd\xe5\x91\x49\x06\xc6\x13\xcb\x07\xc5\x5f\x36\x3d\xde\x4b\xdc\xdf\xc1\x53\xa7\x12\xce\x5d\x9d\x18\x5c\x86\x49\xe7\x48\x8b\x2b\x98\x51\x49\x74\x09\x94\x44\xce\x5b\x34\xf9\x14\x66\x25\xbb\xb7\xba\xcd\xad\x1f\x43\x06\x9e\xd5\x2b\x40\xd9\xee\x60\x5c\x2b\x43\xf3\x29\x40\x22\xd7\xa1\x18\x16\x98\xd7\x5c\xbb\x2c\x36\x30\xa7\x57\x4d\xd2\x94\x16\x2c\xf4\xe3\x49\x12\x67\x73\xaa\xad\xb3\x92\xc5\x48\x9b\xbb\x36\x5d\xb2\x3b\xf3\x4e\xb6\xbb\xc5\x82\xbe\xbf\x34\x05\xb7\xd8\xc7\x62\xc9\x8e\x03\xb1\x17\x38\x2b\xd9\x27\x65\x04\xdd\x1f\x23\xb2\xf7\xf1\x6a\xe5\x40\x74\xf6\x77\x1d\xb5\xea\xe1\x61\x98\x34\x0a\xf7\xa8\x21\xc2\x32\x7a\x03\x4a\xc2\x83\x0d\x91\x12\x45\xdc\xa6\x6e\x49\xc2\xf2\xc1\xb3\xa7\x9a\x08\x79\x27\x0b\x7c\xa6\x90\x3a\x3e\xed\x0f\xd8\xdb\x5e\x09\xef\x77\xef\xe1\x7e\xf4\xf8\xdf\xdb\x70\x5e\xfd\x9f\x29\x28\xd3\x58\x19\x05\xa4\x28\xe1\x65\xf7\x8e\x03\xd3\x93\x1c\xc5\x26\x9b\x26\xfc\xc1\x9a\x2c\x85\xc2\x73\x75\xdd\xf0\x90\x1f\x07\x2a\x28\x09\xb9\x46\xde\xbf\x58\x89\xe2\x12\x38\x47\x22\xd7\x29\xdc\x51\x09\x36\x1f\x9e\x6a\x64\xc9\x67\xb1\x43\xff\xf5\xe5\xcb\xdd\x5b\xe8\x3a\xd7\xe8\x16\xc3\xd3\xcf\x5f\xf6\x99\x52\xa1\xeb\x16\xe7\x32\xd7\x87\xee\x38\xce\xff\x53\x68\x46\x5c\x7f\x14\xa0\xd6\x09\xf9\xef\xe0\x19\x29\x12\x41\x1a\x10\xfa\x23\xb8\xf8\x62\x7a\x26\xe1\x1d\x2c\x92\xf4\x3b\x8b\xc9\x69\xe7\xb9\x82\x99\xab\x45\x34\x68\x39\xfa\x12\xa6\x6e\x4e\x9b\xff\xd9\x2c\xfc\x90\x31\x4d\xb4\x49\x00\x94\x01\x05\x61\x80\x0f\xe3\x61\x0f\xd5\x74\x84\xd5\x34\x80\x05\x77\xee\x1f\x2e\x39\xaf\xa9\x42\x6e\xf6\x8e\x74\xd3\x8a\xba\xa0\x69\x7d\x83\xa5\xd2\x08\x86\x3f\x21\x4b\xca\x21\x3d\xf0\x46\xb6\xde\x0c\xe5\x6d\xd0\x63\x0c\xfa\x40\xfd\x70\xfd\xcd\x81\xee\xed\xf4\x80\x9e\x54\x90\xb1\xa0\xc1\x21\x91\x29\x8e\x4c\xc9\x18\x7c\x7b\xe9\x42\x4f\x59\xca\xa1\x0d\x3b\x79\x63\xaf\x7a\x68\xa3\xd8\xb4\x4d\xfd\xbe\x0c\x03\x71\xec\xcb\xe7\xea\xfa\x48\x15\x57\x98\x7e\x77\x95\x68\x7e\xf1\xaa\xd0\xa9\x8f\x6b\x53\x9c\xf8\xe2\xc8\x97\xf0\xff\xdd\xbb\x25\x76\x3d\x78\xd1\x00\x72\xfb\xf7\x25\x94\x72\x18\xd2\x08\x81\x78\x9c\x4c\xa8\xa5\x3c\x2f\xff\xec\x88\x9a\x0c\xcd\x61\x40\x1d\x34\xee\x7f\x87\x39\x36\xb5\xa8\x9b\x2f\xce\x16\xdf\x74\xa6\xeb\xdf\x93\xe7\x3e\xfd\x3f\x0c\xc2\xe2\xdf\x01\x00\x00\xff\xff\xaa\x06\xb7\x00\x15\x16\x00\x00") func templateRuntimeTmplBytes() ([]byte, error) { return bindataRead( @@ -1039,7 +1039,7 @@ func templateRuntimeTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/runtime.tmpl", size: 5654, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "template/runtime.tmpl", size: 5653, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/entc/gen/template/runtime.tmpl b/entc/gen/template/runtime.tmpl index f74586241..9d08283cf 100644 --- a/entc/gen/template/runtime.tmpl +++ b/entc/gen/template/runtime.tmpl @@ -69,10 +69,9 @@ import ( {{- with $.Config.Schema }} "{{ . }}" {{- end }} - {{- range $n := $.Nodes }} "{{ $.Config.Package }}/{{ $n.Package }}" - {{ end -}} + {{- end }} "github.com/facebookincubator/ent" ) diff --git a/entc/integration/ent/runtime.go b/entc/integration/ent/runtime.go index ded49648e..066439ac3 100644 --- a/entc/integration/ent/runtime.go +++ b/entc/integration/ent/runtime.go @@ -10,18 +10,14 @@ import ( "time" "github.com/facebookincubator/ent/entc/integration/ent/card" - "github.com/facebookincubator/ent/entc/integration/ent/schema" - "github.com/facebookincubator/ent/entc/integration/ent/fieldtype" - "github.com/facebookincubator/ent/entc/integration/ent/file" - "github.com/facebookincubator/ent/entc/integration/ent/group" - "github.com/facebookincubator/ent/entc/integration/ent/groupinfo" + "github.com/facebookincubator/ent/entc/integration/ent/schema" + "github.com/facebookincubator/ent/entc/integration/ent/user" "github.com/facebookincubator/ent" - "github.com/facebookincubator/ent/entc/integration/ent/user" ) // The init function reads all schema descriptors with runtime diff --git a/entc/integration/gremlin/ent/runtime.go b/entc/integration/gremlin/ent/runtime.go index dfc587bbf..55839fb1c 100644 --- a/entc/integration/gremlin/ent/runtime.go +++ b/entc/integration/gremlin/ent/runtime.go @@ -11,17 +11,13 @@ import ( "github.com/facebookincubator/ent/entc/integration/ent/schema" "github.com/facebookincubator/ent/entc/integration/gremlin/ent/card" - "github.com/facebookincubator/ent/entc/integration/gremlin/ent/fieldtype" - "github.com/facebookincubator/ent/entc/integration/gremlin/ent/file" - "github.com/facebookincubator/ent/entc/integration/gremlin/ent/group" - "github.com/facebookincubator/ent/entc/integration/gremlin/ent/groupinfo" + "github.com/facebookincubator/ent/entc/integration/gremlin/ent/user" "github.com/facebookincubator/ent" - "github.com/facebookincubator/ent/entc/integration/gremlin/ent/user" ) // The init function reads all schema descriptors with runtime diff --git a/entc/integration/migrate/entv1/runtime.go b/entc/integration/migrate/entv1/runtime.go index 45e0f9889..b5436e71c 100644 --- a/entc/integration/migrate/entv1/runtime.go +++ b/entc/integration/migrate/entv1/runtime.go @@ -8,7 +8,6 @@ package entv1 import ( "github.com/facebookincubator/ent/entc/integration/migrate/entv1/schema" - "github.com/facebookincubator/ent/entc/integration/migrate/entv1/user" ) diff --git a/entc/integration/migrate/entv2/runtime.go b/entc/integration/migrate/entv2/runtime.go index 55968ca8c..61519d89e 100644 --- a/entc/integration/migrate/entv2/runtime.go +++ b/entc/integration/migrate/entv2/runtime.go @@ -8,7 +8,6 @@ package entv2 import ( "github.com/facebookincubator/ent/entc/integration/migrate/entv2/schema" - "github.com/facebookincubator/ent/entc/integration/migrate/entv2/user" ) diff --git a/entc/integration/privacy/ent/runtime/runtime.go b/entc/integration/privacy/ent/runtime/runtime.go index e5aed67a1..53c8247f3 100644 --- a/entc/integration/privacy/ent/runtime/runtime.go +++ b/entc/integration/privacy/ent/runtime/runtime.go @@ -9,9 +9,10 @@ package runtime import ( "context" - "github.com/facebookincubator/ent" "github.com/facebookincubator/ent/entc/integration/privacy/ent/planet" "github.com/facebookincubator/ent/entc/integration/privacy/ent/schema" + + "github.com/facebookincubator/ent" ) // The init function reads all schema descriptors with runtime diff --git a/examples/start/ent/runtime.go b/examples/start/ent/runtime.go index 63f843f62..e213c4b8a 100644 --- a/examples/start/ent/runtime.go +++ b/examples/start/ent/runtime.go @@ -7,10 +7,8 @@ package ent import ( - "github.com/facebookincubator/ent/examples/start/ent/schema" - "github.com/facebookincubator/ent/examples/start/ent/group" - + "github.com/facebookincubator/ent/examples/start/ent/schema" "github.com/facebookincubator/ent/examples/start/ent/user" )