Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
15 строки
339 B
Go
15 строки
339 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package docextractor
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
// Extractors define the interface needed to extract file content
|
|
type Extractor interface {
|
|
Match(filename string) bool
|
|
Extract(filename string, file io.ReadSeeker) (string, error)
|
|
}
|