- Introduced NanoToTime and TimeToNano functions for converting between UnixNano and time.Time, improving clarity and consistency in timestamp management. - Updated Assistant model to utilize the new utility functions for created_at and updated_at fields. - Refactored Xun store methods to ensure UTC compatibility for timestamp serialization across different database drivers. - Added unit tests for the new conversion functions to validate their correctness and behavior. |
||
|---|---|---|
| .. | ||
| assistant.go | ||
| assistant_test.go | ||
| chat.go | ||
| chat_test.go | ||
| message.go | ||
| message_test.go | ||
| resume.go | ||
| resume_test.go | ||
| search.go | ||
| search_test.go | ||
| utils.go | ||
| utils_test.go | ||
| xun.go | ||
| xun_internal_test.go | ||