More documentation

This commit is contained in:
2021-11-30 15:45:36 +01:00
parent e18a797504
commit b586b1eac8
5 changed files with 31 additions and 16 deletions

View File

@@ -7,12 +7,14 @@ import (
"gopkg.in/yaml.v3"
)
// Parser is a docker-compose parser.
type Parser struct {
Data *Compose
}
var Appname = ""
// NewParser create a Parser and parse the file given in filename.
func NewParser(filename string) *Parser {
f, err := os.Open(filename)