aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_wrapper.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2025-11-18 19:51:02 -0800
committerJeff Halter <868228+jhalter@users.noreply.github.com>2025-11-18 19:52:02 -0800
commit16f0a8527a0b9b736afbd4e71e6aac55e31b60e8 (patch)
treeaf793d94f0bebcbc590fb7fcfe67bae81c1fbb37 /hotline/file_wrapper.go
parent331edfa762e2e53fa0d5bd09fc1e4977f6c9de43 (diff)
Add support for GIF banners with validation and improved error messages
- Add custom validator for banner file extensions (.jpg, .jpeg, .gif) - Update HandleTranAgreed to dynamically detect banner type from file extension - Export FileTypeFromFilename function for use across packages - Add comprehensive test coverage for banner validation and type detection - Improve error messages to clearly communicate allowed file extensions
Diffstat (limited to 'hotline/file_wrapper.go')
0 files changed, 0 insertions, 0 deletions