2023-09-28 16:45:44 +02:00
|
|
|
package constants
|
|
|
|
|
2023-11-29 10:21:05 +02:00
|
|
|
const SERVICE_NAME = "crud_generator"
|
|
|
|
|
2023-09-28 16:45:44 +02:00
|
|
|
const TEXT_HELP = `
|
2023-11-15 12:58:31 +02:00
|
|
|
Need fill settings in settings.txt file
|
2023-09-28 16:45:44 +02:00
|
|
|
`
|
2023-09-28 17:08:00 +02:00
|
|
|
|
2023-11-01 16:34:57 +02:00
|
|
|
//const FolderTemplates string = "templates"
|
|
|
|
//
|
|
|
|
//const FolderReady string = "ready"
|
2023-10-25 13:52:49 +02:00
|
|
|
|
2023-10-25 15:22:30 +02:00
|
|
|
const FILE_PERMISSIONS = 0666
|
2023-11-15 12:58:31 +02:00
|
|
|
|
|
|
|
const CONFIG_FOLDER_NAME = "configs_"
|
2023-11-16 14:08:10 +02:00
|
|
|
|
|
|
|
const TemplateFilenameCrudGo = "crud.go_"
|
2023-11-16 17:07:59 +02:00
|
|
|
const TemplateFilenameCrudGoTest = "crud_test.go_"
|
2023-11-17 14:08:31 +02:00
|
|
|
|
|
|
|
const SETTINGS_FOLDER_NAME = "templates/configs_"
|
2023-11-17 15:48:58 +02:00
|
|
|
|
|
|
|
const GENERATION_PROTO_FILENAME = "generation_code.sh"
|
2023-11-20 16:08:58 +02:00
|
|
|
|
|
|
|
const GRPC_CLIENT_FILENAME = "grpc_client.go"
|
|
|
|
const GRPC_CLIENT_TEST_FILENAME = "grpc_client_test.go"
|
|
|
|
|
|
|
|
const NRPC_CLIENT_FILENAME = "nrpc_client.go"
|
|
|
|
const NRPC_CLIENT_TEST_FILENAME = "nrpc_client_test.go"
|
|
|
|
|
|
|
|
const NRPC_CLIENT_TABLE_FILENAME = "nrpc_client_table.go"
|
|
|
|
const NRPC_CLIENT_TABLE_TEST_FILENAME = "nrpc_client_table_test.go"
|
|
|
|
|
|
|
|
const SERVER_GRPC_STARTER_FILENAME = "server_grpc_starter.go"
|
|
|
|
const SERVER_GRPC_FUNC_FILENAME = "server_grpc_func.go"
|
|
|
|
|
|
|
|
const MAKEFILE_FILENAME = "Makefile"
|
|
|
|
const ENV_FILENAME = ".env"
|
2024-01-09 17:11:21 +02:00
|
|
|
|
|
|
|
const STARTER_TABLES_FILENAME = "starter_tables.go_"
|
|
|
|
const STARTER_TABLES_FILENAME_TEST = "starter_tables_test.go_"
|
|
|
|
const STARTER_TABLES_PREFIX = "crud_starter_"
|