diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-28 22:57:46 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-28 22:57:46 +0300 |
| commit | d0d2b9f47b371afc94c2cdc58977e388ed30e224 (patch) | |
| tree | fec26b51552ccc0a2c104dbeaf4d6a028916ae49 /web | |
h9: scaffold go project structure
- Initialize go.mod (github.com/paul/kiss-media-player)
- Add internal/version.go with const Version
- Add internal/config.go with env-based Config struct and validation
(PORT, MEDIA_ROOT, DB_PATH, MAX_UPLOAD_SIZE_MB, SESSION_TIMEOUT_HOURS,
GC_INTERVAL_MINUTES, SHARE_DEFAULT_EXPIRY_DAYS, LOG_LEVEL)
- Add table-driven config validation tests (defaults, overrides, invalid values)
- Add cmd/mediaplayer/main.go with -version flag
- Create directory scaffold: internal/{model,repository,scanner,probe,thumb,
clock,auth,service,api,setassign}, web/{css,js}, k8s
- Add .gitignore for binaries and data.db
- Refactor env parsing into envInt/envString helpers per go-best-practices
Diffstat (limited to 'web')
0 files changed, 0 insertions, 0 deletions
