yao/data
Max 1060c0f0e0 Enhance attachment manager with dual text content handling
- Updated `GetText` and `SaveText` methods to support both full content and a preview (first 2000 characters) for improved performance and usability.
- Added comprehensive tests in `manager_test.go` to validate the new functionality, including UTF-8 character handling and content retrieval scenarios.
- Modified the attachment model to include a `content_preview` field alongside the existing `content` field, ensuring efficient data management.
- Enhanced the README.md to document the new dual storage feature, providing clear examples for users on how to utilize the updated methods.
2025-12-03 18:29:24 +08:00
..
bindata.go Enhance attachment manager with dual text content handling 2025-12-03 18:29:24 +08:00
data.go ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00
data_test.go ⚠️ BREAKING: Rename XGen to CUI and update license terms 2025-05-18 12:16:45 +08:00