Skip to content

Commit 59e018b

Browse files
committed
Add go modules
1 parent 0681ee3 commit 59e018b

19 files changed

+35
-20
lines changed

bool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/json"
77
"errors"
88

9-
"github.com/volatiletech/null/convert"
9+
"github.com/volatiletech/null/v8/convert"
1010
)
1111

1212
// Bool is a nullable bool.

bytes.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"database/sql/driver"
66
"encoding/json"
77

8-
"github.com/volatiletech/null/convert"
8+
"github.com/volatiletech/null/v8/convert"
99
)
1010

1111
// NullBytes is a global byte slice of JSON null

float32.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/json"
77
"strconv"
88

9-
"github.com/volatiletech/null/convert"
9+
"github.com/volatiletech/null/v8/convert"
1010
)
1111

1212
// Float32 is a nullable float32.

float64.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/json"
77
"strconv"
88

9-
"github.com/volatiletech/null/convert"
9+
"github.com/volatiletech/null/v8/convert"
1010
)
1111

1212
// Float64 is a nullable float64.

go.mod

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/volatiletech/null/v8
2+
3+
go 1.14
4+
5+
require github.com/volatiletech/randomize v0.0.1

go.sum

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
github.com/friendsofgo/errors v0.9.2/go.mod h1:yCvFW5AkDIL9qn7suHVLiI/gH228n7PC4Pn44IGoTOI=
2+
github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
3+
github.com/volatiletech/inflect v0.0.1 h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU=
4+
github.com/volatiletech/inflect v0.0.1/go.mod h1:IBti31tG6phkHitLlr5j7shC5SOo//x0AjDzaJU1PLA=
5+
github.com/volatiletech/randomize v0.0.1 h1:eE5yajattWqTB2/eN8df4dw+8jwAzBtbdo5sbWC4nMk=
6+
github.com/volatiletech/randomize v0.0.1/go.mod h1:GN3U0QYqfZ9FOJ67bzax1cqZ5q2xuj2mXrXBjWaRTlY=
7+
github.com/volatiletech/strmangle v0.0.1 h1:UKQoHmY6be/R3tSvD2nQYrH41k43OJkidwEiC74KIzk=
8+
github.com/volatiletech/strmangle v0.0.1/go.mod h1:F6RA6IkB5vq0yTG4GQ0UsbbRcl3ni9P76i+JrTBKFFg=
9+
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc=
10+
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

int.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"math"
88
"strconv"
99

10-
"github.com/volatiletech/null/convert"
10+
"github.com/volatiletech/null/v8/convert"
1111
)
1212

1313
// Int is an nullable int.

int16.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"math"
99
"strconv"
1010

11-
"github.com/volatiletech/null/convert"
11+
"github.com/volatiletech/null/v8/convert"
1212
)
1313

1414
// Int16 is an nullable int16.

int32.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"math"
99
"strconv"
1010

11-
"github.com/volatiletech/null/convert"
12-
"github.com/volatiletech/sqlboiler/randomize"
11+
"github.com/volatiletech/null/v8/convert"
12+
"github.com/volatiletech/randomize"
1313
)
1414

1515
// Int32 is an nullable int32.

int64.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/json"
77
"strconv"
88

9-
"github.com/volatiletech/null/convert"
9+
"github.com/volatiletech/null/v8/convert"
1010
)
1111

1212
// Int64 is an nullable int64.

int8.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"math"
99
"strconv"
1010

11-
"github.com/volatiletech/null/convert"
11+
"github.com/volatiletech/null/v8/convert"
1212
)
1313

1414
// Int8 is an nullable int8.

json.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"errors"
88
"fmt"
99

10-
"github.com/volatiletech/null/convert"
11-
"github.com/volatiletech/sqlboiler/randomize"
10+
"github.com/volatiletech/null/v8/convert"
11+
"github.com/volatiletech/randomize"
1212
)
1313

1414
// JSON is a nullable []byte.

string.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"database/sql/driver"
66
"encoding/json"
77

8-
"github.com/volatiletech/null/convert"
9-
"github.com/volatiletech/sqlboiler/randomize"
8+
"github.com/volatiletech/null/v8/convert"
9+
"github.com/volatiletech/randomize"
1010
)
1111

1212
// String is a nullable string. It supports SQL and JSON serialization.

time.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"time"
88

9-
"github.com/volatiletech/sqlboiler/randomize"
9+
"github.com/volatiletech/randomize"
1010
)
1111

1212
// Time is a nullable time.Time. It supports SQL and JSON serialization.

uint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/json"
77
"strconv"
88

9-
"github.com/volatiletech/null/convert"
9+
"github.com/volatiletech/null/v8/convert"
1010
)
1111

1212
// Uint is an nullable uint.

uint16.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"math"
99
"strconv"
1010

11-
"github.com/volatiletech/null/convert"
11+
"github.com/volatiletech/null/v8/convert"
1212
)
1313

1414
// Uint16 is an nullable uint16.

uint32.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"math"
99
"strconv"
1010

11-
"github.com/volatiletech/null/convert"
11+
"github.com/volatiletech/null/v8/convert"
1212
)
1313

1414
// Uint32 is an nullable uint32.

uint64.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"encoding/json"
77
"strconv"
88

9-
"github.com/volatiletech/null/convert"
9+
"github.com/volatiletech/null/v8/convert"
1010
)
1111

1212
// Uint64 is an nullable uint64.

uint8.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"math"
99
"strconv"
1010

11-
"github.com/volatiletech/null/convert"
11+
"github.com/volatiletech/null/v8/convert"
1212
)
1313

1414
// Uint8 is an nullable uint8.

0 commit comments

Comments
 (0)