chore: update memo list api (#350)

This commit is contained in:
boojack
2022-10-27 22:02:42 +08:00
committed by GitHub
parent bdf6d4d42a
commit 94df09c8c0
7 changed files with 26 additions and 12 deletions

View File

@@ -28,3 +28,10 @@ func ValidateEmail(email string) bool {
func GenUUID() string {
return uuid.New().String()
}
func Min(x, y int) int {
if x < y {
return x
}
return y
}