WithDisplayName set display name for file source
(name string)
| 124 | |
| 125 | // WithDisplayName set display name for file source |
| 126 | func WithDisplayName(name string) EntitySourceOption { |
| 127 | return EntitySourceOptionFunc(func(option any) { |
| 128 | option.(*EntitySourceOptions).DisplayName = name |
| 129 | }) |
| 130 | } |
| 131 | |
| 132 | // WithContext set context for file source |
| 133 | func WithContext(ctx context.Context) EntitySourceOption { |
no test coverage detected