package reader type SlmReader interface{ ReadPreview(string)([]byte, error) ReadPreviewFromData([]byte)([]byte, error) SavePreview(string)error }