1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2024-12-22 00:36:41 +02:00
crud_generator/internal/constants/constants.go

38 lines
995 B
Go
Raw Normal View History

2023-09-28 16:45:44 +02:00
package constants
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"
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"