Skip to content

Commit

Permalink
fix module imports
Browse files Browse the repository at this point in the history
  • Loading branch information
NoBypass committed Aug 19, 2024
1 parent 14900cd commit 21fb966
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surrealdb/pkg/marshal/marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/NoBypass/surgo/surrealdb/pkg/constants"
"github.com/NoBypass/surgo/surrealdb/pkg/util"
"github.com/NoBypass/surgo/v2/surrealdb/pkg/constants"
"github.com/NoBypass/surgo/v2/surrealdb/pkg/util"
"reflect"
)

Expand Down
7 changes: 7 additions & 0 deletions surrealdb/pkg/util/util.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package util

import "reflect"

func IsSlice(value interface{}) bool {
return reflect.TypeOf(value).Kind() == reflect.Slice
}

0 comments on commit 21fb966

Please # to comment.