6 Commits

Author SHA1 Message Date
4046c447cc
Refactor getRandomPrefix to simplify StoneLevel mapping.
All checks were successful
Go CI/CD / go-ci (push) Successful in 10m4s
Replaced the switch-case with a map for StoneLevel to prefix mapping. This reduces redundancy, improves readability, and maintains default handling for unsupported levels. Functionality remains unchanged.
2025-04-09 23:04:35 -06:00
94c6e882fb
Add a structured logging utility with custom prefixes and suffixes
Some checks failed
Go CI/CD / go-ci (push) Has been cancelled
Introduce a logging system supporting multiple severity levels, JSON formatting, and customizable prefixes and suffixes inspired by Dr. Stone. Includes random success and failure quotes to make logging more dynamic and engaging.
2025-04-09 22:54:16 -06:00
c92275602f
Set fetch-depth: 0 for checkout in CI workflows
All checks were successful
Go CI/CD / go-ci (push) Successful in 10m2s
This change ensures that the full Git history is fetched during the checkout step in `ci-tag.yml`, `ci-basic.yml`, and `ci-protected.yml`. It is necessary for workflows that rely on complete commit history, such as version tagging or historical analysis.
2025-04-09 03:00:46 -06:00
430e0431b2
Update Go build command in CI workflows
Some checks failed
Go CI/CD / go-ci (push) Has been cancelled
Replaced `go build -o ./bin/app main.go` with `go build ./...` across all CI workflow files. This ensures all packages in the module are built, improving compatibility and consistency in the build process.
2025-04-09 02:43:45 -06:00
9e730f3a5d
initial commit
Some checks failed
Go CI/CD / go-ci (push) Has been cancelled
2025-04-09 02:39:25 -06:00
dfb718b473
Initial commit 2025-04-09 00:25:26 -06:00