mirror of
https://github.com/jeremyd/ergo.git
synced 2026-04-26 23:49:59 -07:00
fix #782 (bring vendor into the main tree)
This commit is contained in:
18
vendor/github.com/tidwall/gjson/gjson_gae.go
generated
vendored
Normal file
18
vendor/github.com/tidwall/gjson/gjson_gae.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
//+build appengine js
|
||||
|
||||
package gjson
|
||||
|
||||
func getBytes(json []byte, path string) Result {
|
||||
return Get(string(json), path)
|
||||
}
|
||||
func fillIndex(json string, c *parseContext) {
|
||||
// noop. Use zero for the Index value.
|
||||
}
|
||||
|
||||
func stringBytes(s string) []byte {
|
||||
return []byte(s)
|
||||
}
|
||||
|
||||
func bytesString(b []byte) string {
|
||||
return string(b)
|
||||
}
|
||||
Reference in New Issue
Block a user