feature/query-results (#12)

Co-authored-by: kjuulh <contact@kjuulh.io>
Reviewed-on: kjuulh/kraken#12
This commit is contained in:
2022-09-18 16:11:22 +02:00
parent fa8985a0e7
commit 3ef688a00d
7 changed files with 172 additions and 9 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) {