浏览代码

添加常量

yjp 1 年之前
父节点
当前提交
c5319182c0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      client/data_source.go

+ 4 - 0
client/data_source.go

@@ -8,6 +8,10 @@ import (
 	"strconv"
 )
 
+const (
+	DataSourceTypeDatabase = "database"
+)
+
 const (
 	createDataSourceUrl = "/ds/api/v1/dataSource/create"
 	deleteDataSourceUrl = "/ds/api/v1/dataSource/delete"