You've already forked crud_generator
							
							
				mirror of
				https://github.com/ManyakRus/crud_generator.git
				synced 2025-10-31 00:17:48 +02:00 
			
		
		
		
	сделал mapping.json
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -28,3 +28,4 @@ | ||||
| /bin/notifier_service/ | ||||
|  | ||||
| /bin/tinkoff_invest/ | ||||
| /bin/postgres_migrate/ | ||||
|   | ||||
| @@ -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" | ||||
|     } | ||||
|   ] | ||||
| } | ||||
|   | ||||
| @@ -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" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user