(reqPath string)
| 229 | } |
| 230 | |
| 231 | func (u *User) JoinPath(reqPath string) (string, error) { |
| 232 | return utils.JoinBasePath(u.BasePath, reqPath) |
| 233 | } |
| 234 | |
| 235 | func StaticHash(password string) string { |
| 236 | return utils.HashData(utils.SHA256, []byte(fmt.Sprintf("%s-%s", password, StaticHashSalt))) |
no test coverage detected