feat(test-test): add test func

This commit is contained in:
bandl 2021-08-21 21:20:13 +08:00
parent f768f361c1
commit 3709b6f8e5
1 changed files with 17 additions and 0 deletions

17
pkg/lru/lru/lru.go Normal file
View File

@ -0,0 +1,17 @@
package lru
import (
"strconv"
"time"
)
// 保证所有函数和变量最小作用域
func Test(a int) (string, error) {
return strconv.Itoa(a), nil
}
func Nows() string {
return time.Now().Format("2006-01-02")
}