Chever John 9c39c8cbd7
init: iloom WMS monorepo with K8s deployment manifests
Go workspace (go.work) with 5 microservices + shared library:
- gateway (8080), auth-service (8081), purchaser-service (8082)
- textile-service (8083), washing-service (8084)
- shared: proto definitions, common packages

Infrastructure: docker-compose for local dev, K8s manifests for
K3s cluster deployment (mysql/redis/etcd + traefik ingress).

Frontend (iloom-flatten) added as git submodule.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-14 11:33:31 +08:00

20 lines
444 B
Go

package main
import (
"fmt"
"golang.org/x/crypto/bcrypt"
)
func main() {
hash := "$2a$10$S5XPWRXUnexAt9KJw2CefeHMa6aude7j5dm5qgWM1YMQAAwRgsGXa"
passwords := []string{"admin123", "muyu2026", "admin", "123456", "password", "Aa123456"}
for _, p := range passwords {
err := bcrypt.CompareHashAndPassword([]byte(hash), []byte(p))
if err == nil {
fmt.Printf("MATCH: %s\n", p)
} else {
fmt.Printf("%-12s → %v\n", p, err)
}
}
}