From 9c28a5cbdfcaed5864d45017c3bfc6a2a2b793e8 Mon Sep 17 00:00:00 2001
From: lovestaco CustomPairMerge uses a gabs feature to deal with merge conflicts. More here: https://github.com/HexmosTech/gabs/blob/master/gabs.go#L511Variables
-var DataInputType string
func CustomPairMerge¶
+func CustomPairMerge¶
func CustomPairMerge(destination, source interface{}) interface{}
func (*Lama2Parser)
func (p *Lama2Parser) Boolean() (*gabs.Container, error)
func (p *Lama2Parser) Lama2File() (*gabs.Container, error)
-func (p *Lama2Parser) List() (*gabs.Container, error)
List is a slightly lenient version of standard JSON list. In Lama2 List, it is OK to have a trailing comma after the last element (whereas in strict JSON, it is not OK to have trailing comma)
-func (p *Lama2Parser) Map() (*gabs.Container, error)
Map is a slightly lenient version of standard JSON map. In Lama2 Map, it is OK to have a trailing comma after the last element (whereas in strict JSON, it is not OK to have trailing comma)
@@ -1328,7 +1328,7 @@func (p *Lama2Parser) Multipart() (*gabs.Container, error)
-func (p *Lama2Parser) Null() (*gabs.Container, error)
func (p *Lama2Parser) OneNine() (*gabs.Container, error)
-func (p *Lama2Parser) Pair() (*gabs.Container, error)
func ExpandURL(block *gabs.Container, vm *goja.Runtime)
-func GetL2EnvVariables(dir string) ([]byte, error)
func GetLamaFileAsString(path string) string
func LamaFile(inputFile string) (string, string)
LamaFile takes in a path to an API file. It moves into the API file directory, reads the API contents, loads the `l2.env` file if available, and finally substitutes environment vars in the API contents Once done, it reverts back to the original directory, and returns the processed l2 file.
diff --git a/docs/Lama2/site/sitemap.xml.gz b/docs/Lama2/site/sitemap.xml.gz index f6c0ee17aa905da3812966b6b4350fed46d58404..8775d5c9c8d32f47a8879b2f322bace94c4c2018 100644 GIT binary patch delta 15 WcmbQlJc*f2zMF$%Md?Pi9!3BmPy|c> delta 15 WcmbQlJc*f2zMF$1Cu1X94