File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,9 @@ type Callbacks struct {
188188 // Has unexported fields.
189189}
190190
191+ func NewCallbacksWithCapacity(cap int) *Callbacks
192+ NewCallbacksWithCapacity builds a callbacks object of the given capacity.
193+
191194func (c *Callbacks) Iter() *callbacksKV
192195
193196func (c *Callbacks) JSONLookup(token string) (interface{}, error)
Original file line number Diff line number Diff line change @@ -27,7 +27,4 @@ require (
2727 github.com/josharian/intern v1.0.0 // indirect
2828 github.com/mailru/easyjson v0.7.7 // indirect
2929 github.com/pmezard/go-difflib v1.0.0 // indirect
30- github.com/bahlo/generic-list-go v0.2.0 // indirect
31- github.com/buger/jsonparser v1.1.1 // indirect
32- gopkg.in/yaml.v2 v2.4.0 // indirect
3330)
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xW
33github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs =
44github.com/buger/jsonparser v1.1.1 /go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0 =
55github.com/creack/pty v1.1.9 /go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E =
6- github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk =
7- github.com/bahlo/generic-list-go v0.2.0 /go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg =
8- github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs =
9- github.com/buger/jsonparser v1.1.1 /go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0 =
106github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
117github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
128github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
You can’t perform that action at this time.
0 commit comments