Update Godeps to aws-sdk-go v1.0.2.

This commit is contained in:
Trevor Pounds
2015-11-24 13:01:17 -06:00
parent 9c5ede63fc
commit bd9adaf8eb
734 changed files with 15264 additions and 1080 deletions

View File

@@ -0,0 +1,12 @@
package jmespath
// Search evaluates a JMESPath expression against input data and returns the result.
func Search(expression string, data interface{}) (interface{}, error) {
intr := newInterpreter()
parser := NewParser()
ast, err := parser.Parse(expression)
if err != nil {
return nil, err
}
return intr.Execute(ast, data)
}