mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
17 lines
298 B
Go
17 lines
298 B
Go
package pipeline
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/goreleaser/goreleaser/context"
|
|
)
|
|
|
|
// Defaulter can be implemented by a Piper to set default values for its
|
|
// configuration.
|
|
type Defaulter interface {
|
|
fmt.Stringer
|
|
|
|
// Default sets the configuration defaults
|
|
Default(ctx *context.Context) error
|
|
}
|