From e65ee5af62dfba8aa7c75adb8cebd41f476550e7 Mon Sep 17 00:00:00 2001 From: romber Date: Tue, 26 Jan 2021 14:01:56 +0800 Subject: [PATCH] 1. add DefaultLocalHostName, DefaultLocalHostIP, DefaultMySQLPort --- constant/const.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/constant/const.go b/constant/const.go index 29afd75..9fcd0db 100644 --- a/constant/const.go +++ b/constant/const.go @@ -24,6 +24,9 @@ const ( CRLFString = "\n" DefaultTimeLayout = "2021-01-01 10:00:00.000000" DefaultMiddlewareTag = "middleware" + DefaultLocalHostName = "localhost" + DefaultLocalHostIP = "127.0.0.1" + DefaultMySQLPort = 3306 DefaultFileMode os.FileMode = 0644 DefaultExecFileMode os.FileMode = 0755 )