github.com/joselitofilho/goreleaser@v0.155.1-0.20210123221854-e4891856c593/internal/middleware/middleware.go (about) 1 package middleware 2 3 import "github.com/goreleaser/goreleaser/pkg/context" 4 5 // Action is a function that takes a context and returns an error. 6 // It is is used on Pipers, Defaulters and Publishers, although they are not 7 // aware of this generalization. 8 type Action func(ctx *context.Context) error