photoprism/pkg/rnd/password.go
Michael Mayer f8a45b14d9 Backend: Move reusable packages to pkg/
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-12 14:00:56 +01:00

6 lines
124 B
Go

package rnd
// Password returns a random password with 8 characters as string.
func Password() string {
return Token(8)
}