Skip to content

Commit

Permalink
chore(binding): Copy the gjson source code into the module #62
Browse files Browse the repository at this point in the history
Change-Id: I3ba856a4d9c207179170b8c23af14d87d63fdd43
  • Loading branch information
andeya committed Apr 27, 2023
1 parent e47d0b9 commit e7c4ee2
Show file tree
Hide file tree
Showing 6 changed files with 2,923 additions and 7 deletions.
3 changes: 1 addition & 2 deletions binding/gjson/gjson.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ import (

"github.com/andeya/ameda"
"github.com/andeya/goutil"
"github.com/tidwall/gjson"

"github.com/bytedance/go-tagexpr/v2/binding"
"github.com/bytedance/go-tagexpr/v2/binding/gjson/internal/caching"
"github.com/bytedance/go-tagexpr/v2/binding/gjson/internal/rt"
gjson "github.com/bytedance/go-tagexpr/v2/binding/tidwall_gjson"
)

var (
Expand Down
3 changes: 1 addition & 2 deletions binding/param_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import (
"strings"

"github.com/andeya/ameda"
"github.com/tidwall/gjson"

"github.com/bytedance/go-tagexpr/v2"
gjson "github.com/bytedance/go-tagexpr/v2/binding/tidwall_gjson"
)

const (
Expand Down
20 changes: 20 additions & 0 deletions binding/tidwall_gjson/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2016 Josh Baker

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit e7c4ee2

Please sign in to comment.