Avoid repetitions

This commit is contained in:
2024-04-23 15:45:31 +02:00
parent a3e7435544
commit e0c18ec2ad
7 changed files with 10 additions and 8 deletions

View File

@@ -9,6 +9,8 @@ import (
"katenary/parser"
)
const unmarshalError = "Failed to unmarshal the output: %s"
func setup(content string) string {
// write the _compose_file in temporary directory
tmpDir, err := os.MkdirTemp("", "katenary")