style(cache): 格式化代码注释中的空格并添加 DISTINCT 选项
- 修复了缓存相关文件中注释开头缺少空格的问题 - 在 db/hotimedb.go 中为 vcond 数组添加了 "DISTINCT" 选项 - 注释掉了 session.go 中的并发控制代码以简化实现
This commit is contained in:
+2
-2
@@ -109,7 +109,7 @@ func copyDir(src string, dest string) {
|
||||
}
|
||||
}
|
||||
|
||||
//egodic directories
|
||||
// egodic directories
|
||||
func getFilelist(path string) {
|
||||
err := filepath.Walk(path, func(path string, f os.FileInfo, err error) error {
|
||||
if f == nil {
|
||||
@@ -136,7 +136,7 @@ func PathExists(path string) (bool, error) {
|
||||
return false, err
|
||||
}
|
||||
|
||||
//copy file
|
||||
// copy file
|
||||
func CopyFile(src, dst string) (w int64, err error) {
|
||||
srcFile, err := os.Open(src)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user