➖ 去除缓存
This commit is contained in:
@ -2,6 +2,7 @@ package test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
@ -18,4 +19,9 @@ func TestPassword(t *testing.T) {
|
||||
name:=fullName[:index]
|
||||
password:=fullName[index+10:]
|
||||
fmt.Printf("name:%s, password:%s\n",name,password)
|
||||
}
|
||||
|
||||
func TestDir(t *testing.T) {
|
||||
dir,file:=filepath.Split("/root/")
|
||||
fmt.Printf("dir:%s\nfile:%s\n",dir,file)
|
||||
}
|
Reference in New Issue
Block a user