1
0
mirror of https://github.com/fumiama/imago.git synced 2026-06-05 00:10:26 +08:00

增加层级log

This commit is contained in:
fumiama
2021-08-10 17:22:56 +08:00
parent 8e0e78837e
commit 3c99a8c654
5 changed files with 50 additions and 9 deletions

View File

@@ -18,4 +18,7 @@ Pick a random image
### func Saveimg(r io.Reader, imgdir string, uid string) string
Save image into imgdir with name like 编码后哈希.webp
### func Addimage(name string)
manually add an image name into map
manually add an image name into map
### func Imgexsits(name string) bool
Return whether the name is in map
### func Setloglevel(level log.Level)