You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
281 B
25 lines
281 B
package pipelines
|
|
|
|
type IExecutableStep interface {
|
|
Execute()
|
|
}
|
|
|
|
// Resize image
|
|
|
|
type ResizeImageStep struct {
|
|
Step
|
|
}
|
|
|
|
func (s ResizeImageStep) Execute() {
|
|
// TODO
|
|
}
|
|
|
|
// Compress image
|
|
|
|
type CompressImageStep struct {
|
|
Step
|
|
}
|
|
|
|
func (s CompressImageStep) Execute() {
|
|
// TODO
|
|
}
|