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 }