diff --git a/launch.json b/launch.json new file mode 100644 index 0000000..c433573 --- /dev/null +++ b/launch.json @@ -0,0 +1,23 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "1.2.0", + "configurations": [ + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${fileDirname}", + "env": { + "GO111MODULE": "on", + "MysqlConnStr": "root:dev123456@tcp(219.159.132.177:17173)/project?charset=utf8mb4&parseTime=True&loc=Local", + "PgConnStr": "host=219.159.132.177 port=5432 user=postgres dbname=project password=Xhy.Group sslmode=disable", + "CacheRedisHost": "219.159.132.177:6379", + "CacheRedisType": "node", + "CacheRedisPass": "Xhy.Group", + } + } + ] +} \ No newline at end of file