Use static resources.

This commit is contained in:
Yang Luo
2021-06-12 12:27:13 +08:00
parent 56b2c91217
commit 00ba783fc4
6 changed files with 7 additions and 18 deletions

View File

@ -96,6 +96,10 @@ func GetUser(id string) *User {
}
func GetMaskedUser(user *User) *User {
if user == nil {
return nil
}
if user.Password != "" {
user.Password = "***"
}