mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-14 17:07:31 +00:00
14 lines
281 B
Go
14 lines
281 B
Go
package decoders
|
|
|
|
import (
|
|
"github.com/trufflesecurity/trufflehog/v3/pkg/sources"
|
|
)
|
|
|
|
// Ensure the Decoder satisfies the interface at compile time
|
|
var _ Decoder = (*Plain)(nil)
|
|
|
|
type Plain struct{}
|
|
|
|
func (d *Plain) FromChunk(chunk *sources.Chunk) *sources.Chunk {
|
|
return chunk
|
|
}
|