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
2023-11-29 11:21:05 +03:00

38 lines
995 B
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"