Initial add backend stuff

This commit is contained in:
2026-07-08 15:45:16 -04:00
commit a7964f9410
89 changed files with 25924 additions and 0 deletions

23
cmd/passgen/main.go Normal file
View File

@@ -0,0 +1,23 @@
package main
import (
"log"
"os"
"kjol/appenv"
"kjol/security"
)
func main() {
if len(os.Args) == 2 {
passHash, _ := security.HashPassword(os.Args[1])
println(passHash)
} else {
println("Please input a password as first program argument")
}
if appenv.Environment == appenv.EnvTypeDevelopment {
log.Printf("log message")
}
}