1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-01-03 01:22:21 +02:00

сделал mapping.json

This commit is contained in:
Nikitin Aleksandr 2024-12-17 18:01:25 +03:00
parent e308a76d5c
commit 82efca892c
3 changed files with 83 additions and 1 deletions

1
.gitignore vendored
View File

@ -28,3 +28,4 @@
/bin/notifier_service/
/bin/tinkoff_invest/
/bin/postgres_migrate/

View File

@ -584,6 +584,87 @@
"guregu_type": "null.Time",
"go_nullable_type": "time.Time",
"swagger_type": "time.Time"
},
{
"sql_type": "_aclitem",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "_text",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "name",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "xid",
"go_type": "int32",
"json_type": "Integer",
"protobuf_type": "int32",
"guregu_type": "null.Int",
"go_nullable_type": "sql.NullInt32",
"swagger_type": "int32"
},
{
"sql_type": "_oid",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "_int2",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "oidvector",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "int2vector",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
},
{
"sql_type": "pg_node_tree",
"go_type": "string",
"json_type": "Text",
"protobuf_type": "string",
"guregu_type": "null.String",
"go_nullable_type": "sql.NullString",
"swagger_type": "string"
}
]
}

View File

@ -676,5 +676,5 @@ TESTS_FOLDERNAME = "tests"
FOLDERNAME_GRPC_PROTO="api/grpc_proto"
#FOLDERNAME_API - folder name for create .proto file
FOLDERNAME_API="api/crud_api"
FOLDERNAME_API="api"