DocumentSourceInfoBuildImage creates document source information for image type
(fileID int64)
| 374 | |
| 375 | // DocumentSourceInfoBuildImage creates document source information for image type |
| 376 | func DocumentSourceInfoBuildImage(fileID int64) *DocumentSourceInfo { |
| 377 | return &DocumentSourceInfo{ |
| 378 | SourceFileID: &fileID, |
| 379 | DocumentSource: ptr(5), |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | // DocumentSourceInfoBuildLocalFile creates document source information for local file type |
| 384 | func DocumentSourceInfoBuildLocalFile(content string, fileType string) *DocumentSourceInfo { |
no test coverage detected