Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix patch apply changes
[ric-plt/a1.git]
/
a1-go
/
pkg
/
resthooks
/
resthooks.go
diff --git
a/a1-go/pkg/resthooks/resthooks.go
b/a1-go/pkg/resthooks/resthooks.go
index
2767bda
..
45c3928
100644
(file)
--- a/
a1-go/pkg/resthooks/resthooks.go
+++ b/
a1-go/pkg/resthooks/resthooks.go
@@
-213,7
+213,7
@@
func toStringKeys(val interface{}) (interface{}, error) {
}
}
-
var
validate(httpBodyString string, schemaString string) bool {
+
func
validate(httpBodyString string, schemaString string) bool {
var m interface{}
err := yaml.Unmarshal([]byte(httpBodyString), &m)
if err != nil {