1
0
Fork 0
woodpecker-pipeline-transform/transform.go
2022-08-01 18:01:09 +03:00

16 lines
341 B
Go

// Copyright 2022 Lauris BH. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package transform
type Source struct {
Name string
Content []byte
}
type Transformer interface {
Transform([]*Source) ([]*Pipeline, error)
PostProcess([]byte) ([]byte, error)
}