trufflehog/pkg/decoders/plain.go
Dustin Decker 77418fb3f8 module v3
2022-02-15 18:54:47 -08:00

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
}