mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 14:43:05 -03:00
Rearranged code
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
yaml "gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
// Vendor reads from buf and builds vendor_matchers.go file from vendorTmplPath.
|
||||
// Vendor reads from buf and builds source file from vendorTmplPath.
|
||||
func Vendor(data []byte, vendorTmplPath, vendorTmplName, commit string) ([]byte, error) {
|
||||
var regexpList []string
|
||||
if err := yaml.Unmarshal(data, ®expList); err != nil {
|
||||
|
Reference in New Issue
Block a user