with queryier

This commit is contained in:
2022-09-18 15:48:58 +02:00
parent 56b0ca3f0b
commit 7a27e72876
6 changed files with 146 additions and 8 deletions

View File

@@ -16,6 +16,10 @@ type KrakenSchema struct {
Type string `yaml:"type"`
Entry string `yaml:"entry"`
} `yaml:"actions"`
Queries []struct {
Type string `yaml:"type"`
Query string `yaml:"query"`
} `yaml:"queries"`
}
func Unmarshal(raw string) (*KrakenSchema, error) {