Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Jun 21, 2024
1 parent 09461c3 commit e312b24
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions ast/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
package ast

import (
`encoding/json`
`fmt`
`strconv`
`unsafe`

`github.com/bytedance/sonic/internal/native/types`
`github.com/bytedance/sonic/internal/rt`
"encoding/json"
"fmt"
"strconv"
"sync"
"unsafe"

"github.com/bytedance/sonic/internal/native/types"
"github.com/bytedance/sonic/internal/rt"
)

const (
Expand Down Expand Up @@ -53,9 +54,11 @@ const (
)

type Node struct {
b bool
t types.ValueType
l uint
p unsafe.Pointer
m sync.RWMutex
}

// UnmarshalJSON is just an adapter to json.Unmarshaler.
Expand Down

0 comments on commit e312b24

Please sign in to comment.