feat: add gateway yaml struct transform && refactor pkg yaml -> yml (#7)
authorkv <gxthrj@163.com>
Thu, 13 Aug 2020 04:28:31 +0000 (12:28 +0800)
committerGitHub <noreply@github.com>
Thu, 13 Aug 2020 04:28:31 +0000 (12:28 +0800)
commit3334b28433188d727aa8a8f653873b08663fcf5d
treed15d86ecb05932e33f5e2f0d2564cc4e6f1b05a0
parentf8ce5a064b620563338109695ca108a1c8a49d01
feat: add gateway yaml struct transform && refactor pkg yaml -> yml (#7)

* feat: add gateway yaml struct transform && refactor pkg yaml -> yml

* fix: Gateway yaml struct do not need ID field
README.md
go.mod
pkg/mem/model.go [new file with mode: 0644]
pkg/yml/model.go [new file with mode: 0644]
pkg/yml/schema.go [moved from pkg/yaml/schema.go with 99% similarity]
pkg/yml/schema_test.go [moved from pkg/yaml/schema_test.go with 94% similarity]
pkg/yml/to_json.go [moved from pkg/yaml/to_json.go with 98% similarity]
pkg/yml/trans.go [new file with mode: 0644]
pkg/yml/trans_test.go [new file with mode: 0644]
pkg/yml/yaml_suite_test.go [moved from pkg/yaml/yaml_suite_test.go with 98% similarity]
pkg/yml/yaml_test.go [moved from pkg/yaml/yaml_test.go with 87% similarity]