Fix import paths for v5
This commit is contained in:
parent
0087127f1a
commit
70e2c9d0e6
22 changed files with 22 additions and 22 deletions
2
bytes.go
2
bytes.go
|
@ -3,7 +3,7 @@ package null
|
|||
import (
|
||||
"database/sql/driver"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullBytes is a nullable byte slice.
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullFloat32 is a replica of sql.NullFloat64 for float32 types.
|
||||
|
|
2
int.go
2
int.go
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullInt is a replica of sql.NullInt64 for int types.
|
||||
|
|
2
int16.go
2
int16.go
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullInt16 is a replica of sql.NullInt64 for int16 types.
|
||||
|
|
2
int32.go
2
int32.go
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullInt32 is a replica of sql.NullInt64 for int32 types.
|
||||
|
|
2
int8.go
2
int8.go
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullInt8 is a replica of sql.NullInt64 for int8 types.
|
||||
|
|
2
json.go
2
json.go
|
@ -5,7 +5,7 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullJSON is a nullable byte slice.
|
||||
|
|
2
uint.go
2
uint.go
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullUint is a replica of sql.NullInt64 for uint types.
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullUint16 is a replica of sql.NullInt64 for uint16 types.
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullUint32 is a replica of sql.NullInt64 for uint32 types.
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullUint64 is a replica of sql.NullInt64 for uint64 types.
|
||||
|
|
2
uint8.go
2
uint8.go
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullUint8 is a replica of sql.NullInt64 for uint8 types.
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullFloat32 struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullInt struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullInt16 struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullInt32 struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullInt8 struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullUint struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullUint16 struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullUint32 struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
// NullUint64 is a replica of sql.NullInt64 for uint64 types.
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/nullbio/null.v4/convert"
|
||||
"gopkg.in/nullbio/null.v5/convert"
|
||||
)
|
||||
|
||||
type NullUint8 struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue