mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2024-12-22 00:36:41 +02:00
42 lines
1.1 KiB
Go
42 lines
1.1 KiB
Go
package constants
|
|
|
|
const SERVICE_NAME = "crud_generator"
|
|
|
|
const TEXT_HELP = `
|
|
Need fill settings in settings.txt file
|
|
`
|
|
|
|
//const FolderTemplates string = "templates"
|
|
//
|
|
//const FolderReady string = "ready"
|
|
|
|
const FILE_PERMISSIONS = 0666
|
|
|
|
const CONFIG_FOLDER_NAME = "configs_"
|
|
|
|
const TemplateFilenameCrudGo = "crud.go_"
|
|
const TemplateFilenameCrudGoTest = "crud_test.go_"
|
|
|
|
const SETTINGS_FOLDER_NAME = "templates/configs_"
|
|
|
|
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"
|
|
|
|
const STARTER_TABLES_FILENAME = "starter_tables.go_"
|
|
const STARTER_TABLES_FILENAME_TEST = "starter_tables_test.go_"
|
|
const STARTER_TABLES_PREFIX = "crud_starter_"
|