Ver código fonte

添加常量

yjp 1 ano atrás
pai
commit
c5319182c0
1 arquivos alterados com 4 adições e 0 exclusões
  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"