From fb06930a627f1f2efd649a52f095c53ee6bb67ac Mon Sep 17 00:00:00 2001 From: AlonDavidBehr Date: Mon, 3 May 2021 16:44:07 +0200 Subject: [PATCH] entc/gen/template: fixed validation spelling (#1531) --- entc/gen/internal/bindata.go | 4 ++-- entc/gen/template/base.tmpl | 2 +- entc/integration/cascadelete/ent/ent.go | 2 +- entc/integration/config/ent/ent.go | 2 +- entc/integration/customid/ent/ent.go | 2 +- entc/integration/edgefield/ent/ent.go | 2 +- entc/integration/ent/ent.go | 2 +- entc/integration/gremlin/ent/ent.go | 2 +- entc/integration/hooks/ent/ent.go | 2 +- entc/integration/idtype/ent/ent.go | 2 +- entc/integration/json/ent/ent.go | 2 +- entc/integration/migrate/entv1/ent.go | 2 +- entc/integration/migrate/entv2/ent.go | 2 +- entc/integration/multischema/ent/ent.go | 2 +- entc/integration/privacy/ent/ent.go | 2 +- entc/integration/template/ent/ent.go | 2 +- examples/edgeindex/ent/ent.go | 2 +- examples/entcpkg/ent/ent.go | 2 +- examples/m2m2types/ent/ent.go | 2 +- examples/m2mbidi/ent/ent.go | 2 +- examples/m2mrecur/ent/ent.go | 2 +- examples/o2m2types/ent/ent.go | 2 +- examples/o2mrecur/ent/ent.go | 2 +- examples/o2o2types/ent/ent.go | 2 +- examples/o2obidi/ent/ent.go | 2 +- examples/o2orecur/ent/ent.go | 2 +- examples/privacyadmin/ent/ent.go | 2 +- examples/privacytenant/ent/ent.go | 2 +- examples/start/ent/ent.go | 2 +- examples/traversal/ent/ent.go | 2 +- 30 files changed, 31 insertions(+), 31 deletions(-) diff --git a/entc/gen/internal/bindata.go b/entc/gen/internal/bindata.go index 4325d4f7c..8b5461f2c 100644 --- a/entc/gen/internal/bindata.go +++ b/entc/gen/internal/bindata.go @@ -132,7 +132,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _templateBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\x4d\x6f\xdb\x38\x13\x3e\x4b\xbf\x62\x20\xf8\xed\x6b\xb7\x8e\xd4\xe6\xb6\x01\x72\xc8\x06\x4d\xb7\x40\x9b\x76\x91\x6e\x7b\x5c\x30\xd2\x48\x22\x22\x93\x2a\x49\x39\x31\x04\xff\xf7\xc5\x90\xa2\x3e\x1c\x27\x71\x93\x16\x68\x20\xcf\x90\xf3\xf1\xcc\x33\x43\x4a\x6d\x9b\xbc\x0e\xcf\x65\xbd\x51\xbc\x28\x0d\x1c\xbf\x7d\xf7\xc7\x51\xad\x50\xa3\x30\x70\xc1\x52\xbc\x96\xf2\x06\x3e\x8a\x34\x86\xb3\xaa\x02\xbb\x48\x03\xe9\xd5\x1a\xb3\x38\xfc\x56\x72\x0d\x5a\x36\x2a\x45\x48\x65\x86\xc0\x35\x54\x3c\x45\xa1\x31\x83\x46\x64\xa8\xc0\x94\x08\x67\x35\x4b\x4b\x84\xe3\xf8\xad\xd7\x42\x2e\x1b\x91\x85\x5c\x58\xfd\xa7\x8f\xe7\xef\x2f\xaf\xde\x43\xce\x2b\x84\x4e\xa6\xa4\x34\x90\x71\x85\xa9\x91\x6a\x03\x32\x07\x33\x72\x66\x14\x62\x1c\xbe\x4e\xb6\xdb\x30\xa4\x1c\xa0\x90\x66\x53\xe3\x09\xa0\x30\x85\x8c\xb9\x4c\x50\x18\xfa\x9f\x26\x05\x8a\xf8\x83\x62\x75\x09\x7e\x39\x64\x98\x73\x81\x10\x5d\x33\x8d\x11\x74\xc2\x59\x7d\x53\xc0\xc9\x29\x90\x10\x66\xf1\xb9\x14\x39\x2f\xe2\xaf\x2c\xbd\x61\x05\xd2\xa2\xb6\x05\x83\xab\xba\x62\x06\x21\x2a\x91\x65\xa8\x22\x98\xf9\xed\x83\x8a\xaf\x6a\xa9\x8c\x57\x25\x09\xc5\x04\xac\xe2\x4c\xa3\x06\x23\x81\xad\x25\xcf\xc0\xad\x82\x54\x8a\xbc\xe2\xa9\xd1\x94\x77\xa3\x51\xfd\x5f\x5b\x24\xe3\x90\xf2\x81\x79\x18\x7c\xa9\xc1\xff\x3b\x25\x53\xf1\x97\x3a\x0c\xfe\xa2\xba\x8c\x85\x24\x08\x83\xef\xac\x6a\x70\x2c\xb6\x82\x30\xf8\xbb\x41\xb5\x19\xcb\xad\x20\x0c\xbe\xca\x8a\xa7\x9b\x91\xdc\x09\xc2\xe0\x73\x63\x98\x91\x6a\x50\x74\x82\x4e\xc3\xa5\x98\x6a\xb8\x14\x9d\x0a\x2f\x1a\x91\x8e\x55\x56\x10\x2e\x1c\xc6\x66\x55\x57\x04\x72\xad\xb8\x30\x39\x44\x19\x67\x15\xa6\x26\xf9\x9f\x4e\xa4\xca\x50\x25\x9a\x17\x82\x99\x46\x61\x04\xb3\xf8\xca\x48\x35\x80\x7f\xd7\x43\xec\xcc\xc4\x1e\x7a\xc5\x44\x81\x30\xcb\x97\x30\xb3\x46\xc8\x81\x7b\xd8\x6e\xc3\x80\xdc\xe6\x70\x0a\x35\xd3\x29\xab\xe8\x99\xa4\x49\x02\x4e\xb1\xdd\x02\xab\xeb\x8a\x53\x6d\x4a\x84\x82\xaf\x51\x40\xce\xb1\xca\x6c\x49\xda\x16\x9a\xba\x46\xd5\x2d\xb5\x66\xe3\x30\xc8\x29\x49\x6f\x60\xde\x2d\x8f\xe3\x58\x1b\xc5\x45\xb1\x80\x2f\xb4\xce\x22\xd1\x86\x41\xd0\xb6\x47\x70\xcb\x4d\x09\x78\x67\x50\x64\x30\xe7\x22\xc3\x3b\x98\xc5\x97\x32\x43\x0d\x6f\x17\x10\xd1\xda\x88\xcc\x45\x76\x6b\xe4\x53\x39\xa2\x60\x83\xe0\x20\xec\x72\x67\x63\x0c\x5b\x10\x04\x0a\x4d\xa3\x6c\x22\x7b\x01\xb4\xb6\x29\x28\xeb\xc9\x02\x4d\xbf\x7c\x53\xd8\x85\x7b\x7d\x16\x4a\x36\xf5\x83\xf5\x4a\x12\x38\x2b\x0a\x85\x85\x67\x84\x07\x99\x09\x60\x9d\x82\x58\xa4\x0d\xd6\x20\x5d\xcb\x5b\x8b\x47\xd7\x1b\x30\x8a\xad\x51\x69\x56\x25\x1a\x2b\x3b\x00\xe2\x87\x09\x60\x5d\x69\x9a\x3c\x0c\x6a\x8d\x4d\x26\x27\x0e\x08\x14\xf7\x20\x15\x28\x14\x6c\xc5\x45\x01\x4c\x48\x53\xa2\x02\xf7\xd7\xaf\xd1\xae\x4a\x69\xa3\x8d\x5c\x81\x60\x2b\xd4\x31\x5c\x48\x05\x78\xc7\x56\x75\x85\x27\x61\x92\x84\x49\x12\x7c\xa0\x40\xff\xdc\xb8\xba\xbf\x5b\x3a\xba\x1c\x2f\x62\xd2\xf5\x59\xcf\xfd\x4c\xd9\x6e\xe3\x33\x3d\xfe\x75\xd5\xac\xba\xad\x8b\x25\x44\xba\x59\xfd\xeb\x7e\x45\x8b\x25\x1c\xb0\xeb\x78\xb2\xeb\x38\x5a\x38\xc7\x57\x29\x13\xf3\xd4\xdc\x2d\xe1\xd5\x7a\x41\x81\x5a\x8e\x9e\xe9\x79\x2e\xa6\xa5\x58\xda\x02\x7b\xa6\x4e\xab\xd4\x86\x96\xac\x4f\x96\x9d\xe9\x5d\xa2\x3d\x41\xb3\x49\xa7\x12\xb2\x4b\x98\x11\xd8\x17\x94\x03\xb1\xda\xd7\x0c\x87\xa6\x15\x96\xed\x5d\xdb\xd2\x9e\x5e\xf5\x48\x2b\xb8\xf8\x52\x29\xb4\xd9\x0d\xb1\x6d\x81\xe7\x50\x32\xfd\x6d\x1a\xa0\xef\x82\x27\x5a\xf4\x92\xad\x88\xe5\x36\x90\xbe\x5f\xc5\xa8\x43\x1f\xef\xaf\x2e\x02\xdf\x5c\xfd\x04\x12\xbb\x23\xa8\x6d\xe1\x67\x23\x0d\xf6\x39\xef\xe7\xb3\xb4\x60\xf3\x7c\x8c\xe3\x76\xbb\x33\xc3\xe8\xdc\xec\x9d\x22\x4b\x4b\xd7\x64\x93\x09\x46\x01\xcc\xf7\x98\x72\x06\x1c\x4f\x7a\x1b\x7b\x08\xf3\x2b\xe3\x4d\x40\xf4\xc3\xbb\x88\xc6\xee\x0e\x9b\x73\xae\xb8\xbf\x7b\xce\x25\x09\x7c\x67\x15\xcf\x2c\xc0\xef\x95\xb2\x83\x82\x8c\x69\xb8\x2d\x51\xc0\xba\x53\xd2\xdc\xe8\x60\xcd\x19\xaf\x74\x77\x46\xef\xee\xd5\x46\x35\xa9\x21\x64\x88\x31\x1d\x80\x90\x24\xe0\x32\xa5\x71\x92\x15\x68\xc7\x4b\x1c\x06\xa8\x14\x20\xed\x0b\x5d\x24\xce\x06\xa7\x71\xb3\x42\x61\x1c\x25\xd0\x09\x85\x41\x95\xb3\x14\x63\xd7\xdb\x73\x84\xd7\x3b\xce\x17\x6e\xff\x7c\xe1\xdd\xb6\x7d\x67\x62\x8c\x4a\xc5\x9d\xba\x73\xf6\x8f\xb8\x55\xac\xde\xeb\x4d\xc7\x3f\x14\xb3\x27\xdf\x41\x6e\x9d\xa5\xf9\xa2\x0b\x75\xc7\x6d\xe7\xee\xa3\x7e\x08\x67\x06\xd7\x52\x56\xc8\x04\x70\x91\xf1\xd4\x81\x7d\x5b\xa2\x1d\xcf\x23\x04\x68\x65\x57\x0e\x29\x9c\xb0\x8b\xea\x9e\xed\x79\x8f\xec\xc2\x1a\xa7\x98\x78\x4e\x12\x38\x3d\x05\xc1\xad\xc0\x47\x99\xb3\x4a\x23\xd1\x22\x58\x33\x05\xf7\x13\x1c\xd2\x71\xd8\x9c\x69\x32\xbf\x84\x57\xe8\xa1\xbc\x94\xe6\x82\xee\xb4\x7b\xf8\x63\xd4\x86\xd2\x31\x12\x72\x34\x69\x09\x0c\x74\x8d\x29\xcf\x79\x4a\xb7\x24\x6e\x36\xc0\x44\x06\xdc\xc0\x2d\xd3\x20\xa4\x71\x97\x63\x7f\x11\xce\x98\x61\x74\x27\xed\xd8\x36\xf5\x33\x70\xad\x62\xd7\x58\x75\x55\x7f\x1e\x95\x26\x96\x1f\x21\x52\x34\x1c\x4a\x27\x10\xc1\x1b\xc0\xd8\x39\x7f\x03\xd1\x10\x7e\xd4\xd7\xdc\xdb\x7d\x56\xb1\x07\x38\xa6\xc5\xf6\x46\x5f\x56\xe5\x49\xca\x4f\xd7\xf8\x33\xd3\x37\x7d\x36\x2b\xa6\x6f\xf4\x03\xf1\x8d\x17\x8e\x23\xec\x9b\x83\xe7\x3b\x39\x2c\xc6\x71\x0a\x5e\xd9\x28\x87\x78\x06\x92\x5d\x71\x51\x34\x15\x53\x87\xf1\xac\x5b\x3c\xe6\xd9\x4a\x2a\x24\x94\xe9\x04\x41\x4b\xb9\x27\xe8\x36\xf5\xf8\x9b\x19\x37\x31\xfe\x12\xd2\xf9\x54\x27\xbc\xf3\xd6\x9f\x4d\xbd\x01\xc0\x5d\xf6\x79\xd3\x2f\x26\xe0\x04\x81\x83\xe6\xcc\x27\xc9\x32\x7c\x7c\xd0\x14\x68\x6c\x06\x19\x95\x9a\x0d\x93\xa5\xb2\x5b\x81\xee\xd8\x25\xc2\x4f\x7a\x0b\x1c\x0a\x3d\xb6\x3b\x94\xd9\x1e\x56\x2f\xac\xf2\xc8\xf2\xaf\xd5\xd8\x3a\xa7\x12\xdb\x87\x69\x16\x93\x4a\x3b\x0f\xcf\xae\x73\x87\xcb\xbd\x2a\x3b\xb3\x2f\xae\xf1\x28\xff\xa7\x2b\x7c\x4e\x77\x57\xc5\xb8\x30\x8f\x96\x38\x55\xc8\x0c\x26\x4d\x9d\xd1\x4d\x87\x7a\x59\x2a\xd7\xdc\xb6\xd9\xdd\xbb\x56\x46\x06\xc7\x3a\xfb\x1d\x05\xb9\x82\xb4\xf7\xa2\xed\x6d\x06\xb3\xc9\xab\xce\x12\xd6\x5c\x56\xee\xca\x29\x73\x07\xbf\x54\x64\xcd\x5d\x80\x1a\xc1\x7f\x36\x28\x50\xfb\x5b\xd0\x6e\xd4\x03\x81\x56\xba\xf0\xfc\x09\xec\x75\xe3\xf9\xd7\x9d\x1d\x27\x87\x72\x69\xc8\xb5\x4b\xd5\xd3\x6b\xa5\x8b\x97\xde\x84\xee\x85\xf4\xc8\x4d\x88\x14\x3d\x69\x1f\x2a\xf3\xaf\x50\x77\x27\xb1\x46\x61\x4f\xde\x1d\xf3\x2f\xa3\xf0\x8e\xb1\x27\x38\x6c\x3f\xc8\xe1\x5d\xcd\xfc\xa9\x08\xc4\x10\x4b\x47\x28\x2a\x79\xcd\x2a\x28\xb1\xaa\x51\xe9\xd8\x7d\x93\x7b\xfc\x43\x83\x73\x72\xff\x7b\xd0\x83\xef\x72\x7b\x5e\x01\x66\xdd\x9e\x03\x3f\x6d\xd8\x20\x7f\xbf\xcb\xee\xf1\xbf\x00\x00\x00\xff\xff\x36\x67\x9e\x4e\x75\x15\x00\x00") +var _templateBaseTmpl = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\x4d\x6f\xdb\x38\x13\x3e\x4b\xbf\x62\x20\xf8\xed\x6b\xb7\x8e\xd4\xe6\xb6\x01\x72\xc8\x06\x4d\xb7\x40\x9b\x76\x91\x6e\x7b\x5c\x30\xd2\x48\x22\x22\x93\x2a\x49\x39\x31\x04\xff\xf7\xc5\x90\xa2\x3e\x1c\x27\x71\x93\x16\x68\x20\xcf\x90\xf3\xf1\xcc\x33\x43\x4a\x6d\x9b\xbc\x0e\xcf\x65\xbd\x51\xbc\x28\x0d\x1c\xbf\x7d\xf7\xc7\x51\xad\x50\xa3\x30\x70\xc1\x52\xbc\x96\xf2\x06\x3e\x8a\x34\x86\xb3\xaa\x02\xbb\x48\x03\xe9\xd5\x1a\xb3\x38\xfc\x56\x72\x0d\x5a\x36\x2a\x45\x48\x65\x86\xc0\x35\x54\x3c\x45\xa1\x31\x83\x46\x64\xa8\xc0\x94\x08\x67\x35\x4b\x4b\x84\xe3\xf8\xad\xd7\x42\x2e\x1b\x91\x85\x5c\x58\xfd\xa7\x8f\xe7\xef\x2f\xaf\xde\x43\xce\x2b\x84\x4e\xa6\xa4\x34\x90\x71\x85\xa9\x91\x6a\x03\x32\x07\x33\x72\x66\x14\x62\x1c\xbe\x4e\xb6\xdb\x30\xa4\x1c\xa0\x90\x66\x53\xe3\x09\xa0\x30\x85\x8c\xb9\x4c\x50\x18\xfa\x9f\x26\x05\x8a\xf8\x83\x62\x75\x09\x7e\x39\x64\x98\x73\x81\x10\x5d\x33\x8d\x11\x74\xc2\x59\x7d\x53\xc0\xc9\x29\x90\x10\x66\xf1\xb9\x14\x39\x2f\xe2\xaf\x2c\xbd\x61\x05\xd2\xa2\xb6\x05\x83\xab\xba\x62\x06\x21\x2a\x91\x65\xa8\x22\x98\xf9\xed\x83\x8a\xaf\x6a\xa9\x8c\x57\x25\x09\xc5\x04\xac\xe2\x4c\xa3\x06\x23\x81\xad\x25\xcf\xc0\xad\x82\x54\x8a\xbc\xe2\xa9\xd1\x94\x77\xa3\x51\xfd\x5f\x5b\x24\xe3\x90\xf2\x81\x79\x18\x7c\xa9\xc1\xff\x3b\x25\x53\xf1\x97\x3a\x0c\xfe\xa2\xba\x8c\x85\x24\x08\x83\xef\xac\x6a\x70\x2c\xb6\x82\x30\xf8\xbb\x41\xb5\x19\xcb\xad\x20\x0c\xbe\xca\x8a\xa7\x9b\x91\xdc\x09\xc2\xe0\x73\x63\x98\x91\x6a\x50\x74\x82\x4e\xc3\xa5\x98\x6a\xb8\x14\x9d\x0a\x2f\x1a\x91\x8e\x55\x56\x10\x2e\x1c\xc6\x66\x55\x57\x04\x72\xad\xb8\x30\x39\x44\x19\x67\x15\xa6\x26\xf9\x9f\x4e\xa4\xca\x50\x25\x9a\x17\x82\x99\x46\x61\x04\xb3\xf8\xca\x48\x35\x80\x7f\xd7\x43\xec\xcc\xc4\x1e\x7a\xc5\x44\x81\x30\xcb\x97\x30\xb3\x46\xc8\x81\x7b\xd8\x6e\xc3\x80\xdc\xe6\x70\x0a\x35\xd3\x29\xab\xe8\x99\xa4\x49\x02\x4e\xb1\xdd\x02\xab\xeb\x8a\x53\x6d\x4a\x84\x82\xaf\x51\x40\xce\xb1\xca\x6c\x49\xda\x16\x9a\xba\x46\xd5\x2d\xb5\x66\xe3\x30\xc8\x29\x49\x6f\x60\xde\x2d\x8f\xe3\x58\x1b\xc5\x45\xb1\x80\x2f\xb4\xce\x22\xd1\x86\x41\xd0\xb6\x47\x70\xcb\x4d\x09\x78\x67\x50\x64\x30\xe7\x22\xc3\x3b\x98\xc5\x97\x32\x43\x0d\x6f\x17\x10\xd1\xda\x88\xcc\x45\x76\x6b\xe4\x53\x39\xa2\x60\x83\xe0\x20\xec\x72\x67\x63\x0c\x5b\x10\x04\x0a\x4d\xa3\x6c\x22\x7b\x01\xb4\xb6\x29\x28\xeb\xc9\x02\x4d\xbf\x7c\x53\xd8\x85\x7b\x7d\x16\x4a\x36\xf5\x83\xf5\x4a\x12\x38\x2b\x0a\x85\x85\x67\x84\x07\x99\x09\x60\x9d\x82\x58\xa4\x0d\xd6\x20\x5d\xcb\x5b\x8b\x47\xd7\x1b\x30\x8a\xad\x51\x69\x56\x25\x1a\x2b\x3b\x00\xe2\x87\x09\x60\x5d\x69\x9a\x3c\x0c\x6a\x8d\x4d\x26\x27\x0e\x08\x14\xf7\x20\x15\x28\x14\x6c\xc5\x45\x01\x4c\x48\x53\xa2\x02\xf7\xd7\xaf\xd1\xae\x4a\x69\xa3\x8d\x5c\x81\x60\x2b\xd4\x31\x5c\x48\x05\x78\xc7\x56\x75\x85\x27\x61\x92\x84\x49\x12\x7c\xa0\x40\xff\xdc\xb8\xba\xbf\x5b\x3a\xba\x1c\x2f\x62\xd2\xf5\x59\xcf\xfd\x4c\xd9\x6e\xe3\x33\x3d\xfe\x75\xd5\xac\xba\xad\x8b\x25\x44\xba\x59\xfd\xeb\x7e\x45\x8b\x25\x1c\xb0\xeb\x78\xb2\xeb\x38\x5a\x38\xc7\x57\x29\x13\xf3\xd4\xdc\x2d\xe1\xd5\x7a\x41\x81\x5a\x8e\x9e\xe9\x79\x2e\xa6\xa5\x58\xda\x02\x7b\xa6\x4e\xab\xd4\x86\x96\xac\x4f\x96\x9d\xe9\x5d\xa2\x3d\x41\xb3\x49\xa7\x12\xb2\x4b\x98\x11\xd8\x17\x94\x03\xb1\xda\xd7\x0c\x87\xa6\x15\x96\xed\x5d\xdb\xd2\x9e\x5e\xf5\x48\x2b\xb8\xf8\x52\x29\xb4\xd9\x0d\xb1\x6d\x81\xe7\x50\x32\xfd\x6d\x1a\xa0\xef\x82\x27\x5a\xf4\x92\xad\x88\xe5\x36\x90\xbe\x5f\xc5\xa8\x43\x1f\xef\xaf\x2e\x02\xdf\x5c\xfd\x04\x12\xbb\x23\xa8\x6d\xe1\x67\x23\x0d\xf6\x39\xef\xe7\xb3\xb4\x60\xf3\x7c\x8c\xe3\x76\xbb\x33\xc3\xe8\xdc\xec\x9d\x22\x4b\x4b\xd7\x64\x93\x09\x46\x01\xcc\xf7\x98\x72\x06\x1c\x4f\x7a\x1b\x7b\x08\xf3\x2b\xe3\x4d\x40\xf4\xc3\xbb\x88\xc6\xee\x0e\x9b\x73\xae\xb8\xbf\x7b\xce\x25\x09\x7c\x67\x15\xcf\x2c\xc0\xef\x95\xb2\x83\x82\x8c\x69\xb8\x2d\x51\xc0\xba\x53\xd2\xdc\xe8\x60\xcd\x19\xaf\x74\x77\x46\xef\xee\xd5\x46\x35\xa9\x21\x64\x88\x31\x1d\x80\x90\x24\xe0\x32\xa5\x71\x92\x15\x68\xc7\x4b\x1c\x06\xa8\x14\x20\xed\x0b\x5d\x24\xce\x06\xa7\x71\xb3\x42\x61\x1c\x25\xd0\x09\x85\x41\x95\xb3\x14\x63\xd7\xdb\x73\x84\xd7\x3b\xce\x17\x6e\xff\x7c\xe1\xdd\xb6\x7d\x67\x62\x8c\x4a\xc5\x9d\xba\x73\xf6\x8f\xb8\x55\xac\xde\xeb\x4d\xc7\x3f\x14\xb3\x27\xdf\x41\x6e\x9d\xa5\xf9\xa2\x0b\x75\xc7\x6d\xe7\xee\xa3\x7e\x08\x67\x06\xd7\x52\x56\xc8\x04\x70\x91\xf1\xd4\x81\x7d\x5b\xa2\x1d\xcf\x23\x04\x68\xe5\xba\xb7\xe1\xa4\x5d\x58\xf7\x8c\xcf\x7b\x68\x17\xd6\x3a\x05\xc5\x73\x92\xc0\xe9\x29\x08\x6e\x05\x3e\xcc\x9c\x55\x1a\x89\x17\xc1\x9a\x29\xb8\x9f\xe1\x90\x8f\x03\xe7\x4c\x93\xf9\x25\xbc\x42\x8f\xe5\xa5\x34\x17\x74\xa9\xdd\x43\x20\xa3\x36\x94\x8f\x91\x90\xa3\x49\x4b\x60\xa0\x6b\x4c\x79\xce\x53\xba\x26\x71\xb3\x01\x26\x32\xe0\x06\x6e\x99\x06\x21\x8d\xbb\x1d\xfb\x9b\x70\xc6\x0c\xa3\x4b\x69\x47\xb7\xa9\x9f\x81\x6c\x15\xbb\xc6\xaa\x2b\xfb\xf3\xb8\x34\xb1\xfc\x08\x93\xa2\xe1\x54\x3a\x81\x08\xde\x00\xc6\xce\xf9\x1b\x88\x86\xf0\xa3\xbe\xe8\xde\xee\xb3\xaa\x3d\xc0\x31\x2d\xb6\x37\xfa\xb2\x2a\x4f\x52\x7e\xba\xc6\x9f\x99\xbe\xe9\xb3\x59\x31\x7d\xa3\x1f\x88\x6f\xbc\x70\x1c\x61\xdf\x1d\x3c\xdf\xc9\x61\x31\x8e\x53\xf0\xca\x46\x39\xc4\x33\x90\xec\x8a\x8b\xa2\xa9\x98\x3a\x8c\x67\xdd\xe2\x31\xcf\x56\x52\x21\xa1\x4c\x47\x08\x5a\xca\x3d\x41\xb7\xa9\xc7\xdf\xcc\xb8\x89\xf1\x97\x90\xce\xa7\x3a\xe1\x9d\xb7\xfe\x6c\xea\x0d\x00\xee\xb2\xcf\x9b\x7e\x31\x01\x27\x08\x1c\x34\x67\x3e\x49\x96\xe1\xe3\x83\xa6\x40\x63\x33\xc8\xa8\xd4\x6c\x98\x2c\x95\xdd\x0a\x74\xc9\x2e\x11\x7e\xd2\x6b\xe0\x50\xe8\xb1\xdd\xa1\xcc\xf6\xb4\x7a\x61\x95\x47\x96\x7f\xad\xc6\xd6\x39\x95\xd8\x3e\x4c\xb3\x98\x54\xda\x79\x78\x76\x9d\x3b\x5c\xee\x55\xd9\x99\x7d\x71\x8d\x47\xf9\x3f\x5d\xe1\x73\xba\xbc\x2a\xc6\x85\x79\xb4\xc4\xa9\x42\x66\x30\x69\xea\x8c\xae\x3a\xd4\xcb\x52\xb9\xe6\xb6\xcd\xee\x5e\xb6\x32\x32\x38\xd6\xd9\x0f\x29\xc8\x15\xa4\xbd\x17\x6d\xaf\x33\x98\x4d\xde\x75\x96\xb0\xe6\xb2\x72\xc7\xac\xcc\x1d\xfc\x52\x91\x35\x77\x03\x6a\x04\xff\xd9\xa0\x40\xed\xaf\x41\xbb\x51\x0f\x04\x5a\xe9\xc2\xf3\x27\xb0\xf7\x8d\xe7\xdf\x77\x76\x9c\x1c\xca\xa5\x21\xd7\x2e\x55\x4f\xaf\x95\x2e\x5e\x7a\x15\xba\x17\xd2\x23\x57\x21\x52\xf4\xa4\x7d\xa8\xcc\xbf\x42\xdd\x9d\xc4\x1a\x85\x3d\x79\x77\xcc\xbf\x8c\xc2\x3b\xc6\x9e\xe0\xb0\xfd\x22\x87\x77\x35\xf3\xa7\x22\x10\x43\x2c\x1d\xa1\xa8\xe4\x35\xab\xa0\xc4\xaa\x46\xa5\x63\xf7\x51\xee\xf1\x2f\x0d\xce\xc9\xfd\x0f\x42\x0f\xbe\xcc\xed\x79\x07\x98\x75\x7b\x0e\xfc\xb6\x61\x83\xfc\xfd\x2e\xbb\xc7\xff\x02\x00\x00\xff\xff\xa3\xbb\x76\x09\x76\x15\x00\x00") func templateBaseTmplBytes() ([]byte, error) { return bindataRead( @@ -147,7 +147,7 @@ func templateBaseTmpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "template/base.tmpl", size: 5493, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + info := bindataFileInfo{name: "template/base.tmpl", size: 5494, mode: os.FileMode(420), modTime: time.Unix(1, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/entc/gen/template/base.tmpl b/entc/gen/template/base.tmpl index ff262862f..241ef7c65 100644 --- a/entc/gen/template/base.tmpl +++ b/entc/gen/template/base.tmpl @@ -89,7 +89,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/cascadelete/ent/ent.go b/entc/integration/cascadelete/ent/ent.go index eaa5ce083..14f9e277a 100644 --- a/entc/integration/cascadelete/ent/ent.go +++ b/entc/integration/cascadelete/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/config/ent/ent.go b/entc/integration/config/ent/ent.go index 305a588bd..0e09282bb 100644 --- a/entc/integration/config/ent/ent.go +++ b/entc/integration/config/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/customid/ent/ent.go b/entc/integration/customid/ent/ent.go index 3f0223ab2..fa74aa918 100644 --- a/entc/integration/customid/ent/ent.go +++ b/entc/integration/customid/ent/ent.go @@ -177,7 +177,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/edgefield/ent/ent.go b/entc/integration/edgefield/ent/ent.go index d4d7bf479..ffd141bd2 100644 --- a/entc/integration/edgefield/ent/ent.go +++ b/entc/integration/edgefield/ent/ent.go @@ -177,7 +177,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/ent/ent.go b/entc/integration/ent/ent.go index 5454d85cb..054982660 100644 --- a/entc/integration/ent/ent.go +++ b/entc/integration/ent/ent.go @@ -189,7 +189,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/gremlin/ent/ent.go b/entc/integration/gremlin/ent/ent.go index 3d3592790..a841b518f 100644 --- a/entc/integration/gremlin/ent/ent.go +++ b/entc/integration/gremlin/ent/ent.go @@ -165,7 +165,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/hooks/ent/ent.go b/entc/integration/hooks/ent/ent.go index bb5c73357..d85c8ccb9 100644 --- a/entc/integration/hooks/ent/ent.go +++ b/entc/integration/hooks/ent/ent.go @@ -165,7 +165,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/idtype/ent/ent.go b/entc/integration/idtype/ent/ent.go index 85c5092eb..95c3c8574 100644 --- a/entc/integration/idtype/ent/ent.go +++ b/entc/integration/idtype/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/json/ent/ent.go b/entc/integration/json/ent/ent.go index 765dd905d..04170cf55 100644 --- a/entc/integration/json/ent/ent.go +++ b/entc/integration/json/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/migrate/entv1/ent.go b/entc/integration/migrate/entv1/ent.go index 5d29abd14..df8e044bc 100644 --- a/entc/integration/migrate/entv1/ent.go +++ b/entc/integration/migrate/entv1/ent.go @@ -169,7 +169,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/migrate/entv2/ent.go b/entc/integration/migrate/entv2/ent.go index 817dc385f..849f9d4f8 100644 --- a/entc/integration/migrate/entv2/ent.go +++ b/entc/integration/migrate/entv2/ent.go @@ -175,7 +175,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/multischema/ent/ent.go b/entc/integration/multischema/ent/ent.go index aa5651685..908ec171e 100644 --- a/entc/integration/multischema/ent/ent.go +++ b/entc/integration/multischema/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/privacy/ent/ent.go b/entc/integration/privacy/ent/ent.go index 0fb66add3..761cd4e4f 100644 --- a/entc/integration/privacy/ent/ent.go +++ b/entc/integration/privacy/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/entc/integration/template/ent/ent.go b/entc/integration/template/ent/ent.go index 5ffc1eac0..40843dc61 100644 --- a/entc/integration/template/ent/ent.go +++ b/entc/integration/template/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/edgeindex/ent/ent.go b/examples/edgeindex/ent/ent.go index 7bc425e62..4acf86a2e 100644 --- a/examples/edgeindex/ent/ent.go +++ b/examples/edgeindex/ent/ent.go @@ -165,7 +165,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/entcpkg/ent/ent.go b/examples/entcpkg/ent/ent.go index a6de8d182..6cfd58df2 100644 --- a/examples/entcpkg/ent/ent.go +++ b/examples/entcpkg/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/m2m2types/ent/ent.go b/examples/m2m2types/ent/ent.go index 006664e86..44c615802 100644 --- a/examples/m2m2types/ent/ent.go +++ b/examples/m2m2types/ent/ent.go @@ -165,7 +165,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/m2mbidi/ent/ent.go b/examples/m2mbidi/ent/ent.go index 3b19546df..c1d270fd9 100644 --- a/examples/m2mbidi/ent/ent.go +++ b/examples/m2mbidi/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/m2mrecur/ent/ent.go b/examples/m2mrecur/ent/ent.go index c400ae2f3..497418ec9 100644 --- a/examples/m2mrecur/ent/ent.go +++ b/examples/m2mrecur/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/o2m2types/ent/ent.go b/examples/o2m2types/ent/ent.go index 022733172..5ec17ab98 100644 --- a/examples/o2m2types/ent/ent.go +++ b/examples/o2m2types/ent/ent.go @@ -165,7 +165,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/o2mrecur/ent/ent.go b/examples/o2mrecur/ent/ent.go index 3a32daf10..5a5df17a8 100644 --- a/examples/o2mrecur/ent/ent.go +++ b/examples/o2mrecur/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/o2o2types/ent/ent.go b/examples/o2o2types/ent/ent.go index e422cc026..1bb9dd7ca 100644 --- a/examples/o2o2types/ent/ent.go +++ b/examples/o2o2types/ent/ent.go @@ -165,7 +165,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/o2obidi/ent/ent.go b/examples/o2obidi/ent/ent.go index efd8d806a..ef394ec73 100644 --- a/examples/o2obidi/ent/ent.go +++ b/examples/o2obidi/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/o2orecur/ent/ent.go b/examples/o2orecur/ent/ent.go index 817560292..dfdd0c9b0 100644 --- a/examples/o2orecur/ent/ent.go +++ b/examples/o2orecur/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/privacyadmin/ent/ent.go b/examples/privacyadmin/ent/ent.go index 8cb87b28a..5a3b41c1f 100644 --- a/examples/privacyadmin/ent/ent.go +++ b/examples/privacyadmin/ent/ent.go @@ -163,7 +163,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/privacytenant/ent/ent.go b/examples/privacytenant/ent/ent.go index 44a8536b4..8fc3880e7 100644 --- a/examples/privacytenant/ent/ent.go +++ b/examples/privacytenant/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/start/ent/ent.go b/examples/start/ent/ent.go index 1f81f40ed..e3883ec7b 100644 --- a/examples/start/ent/ent.go +++ b/examples/start/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false diff --git a/examples/traversal/ent/ent.go b/examples/traversal/ent/ent.go index ea9a0eb06..70c618558 100644 --- a/examples/traversal/ent/ent.go +++ b/examples/traversal/ent/ent.go @@ -167,7 +167,7 @@ func (e *ValidationError) Unwrap() error { return e.err } -// IsValidationError returns a boolean indicating whether the error is a validaton error. +// IsValidationError returns a boolean indicating whether the error is a validation error. func IsValidationError(err error) bool { if err == nil { return false