Update path.go

This commit is contained in:
Masaaki Goshima 2022-11-29 04:07:50 +09:00 committed by GitHub
parent 9b472af6fa
commit d8329d56f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ import (
// [*] : all objects/elements for array. // [*] : all objects/elements for array.
// //
// Reserved words must be properly escaped when included in Path. // Reserved words must be properly escaped when included in Path.
// Escale Rule //
// Escape Rule
// single quote style escape: e.g.) `$['a.b'].c` // single quote style escape: e.g.) `$['a.b'].c`
// double quote style escape: e.g.) `$."a.b".c` // double quote style escape: e.g.) `$."a.b".c`
func CreatePath(p string) (*Path, error) { func CreatePath(p string) (*Path, error) {