Skip to content

Commit

Permalink
Bump REL v0.30.0 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs02 authored Nov 14, 2021
1 parent 8f1eb15 commit 2d07721
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/go-rel/sql
go 1.16

require (
github.com/go-rel/rel v0.29.2
github.com/go-rel/rel v0.30.0
github.com/stretchr/objx v0.3.0 // indirect
github.com/stretchr/testify v1.7.0
)
5 changes: 3 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/go-rel/rel v0.28.0/go.mod h1:zaIYPmM3AfJrh0xBmm7KoVKRgTNvr0cgZfcJ88gVA2U=
github.com/go-rel/rel v0.29.2 h1:YeQiGSjK3fPZZOjxktGudv6t8g3EbrUHJ6jLUhq7sc4=
github.com/go-rel/rel v0.29.2/go.mod h1:RiTs/9DBCiSZvVRin8mXMXBeXIuJ5JpQThccwtrdqfc=
github.com/go-rel/rel v0.30.0 h1:cROr0KQx1WJCx+LGEs885yxt2UsO54vOQcgsXoeGTPk=
github.com/go-rel/rel v0.30.0/go.mod h1:Wu6HB6x0oIiEOdUJClwmn7ByCmdL73U5gItAYObyyuo=
github.com/go-rel/reltest v0.4.0 h1:Z/x9FXZ8yDdrU2MuzPpt7FUIptSEV1pnmSKxSlcUhtM=
github.com/go-rel/reltest v0.4.0/go.mod h1:3udgrKCZGCMFWc8k+RH975gUdUFPE/yspG2iWN9gjqU=
github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
Expand Down
8 changes: 0 additions & 8 deletions specs/specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"time"

"github.com/go-rel/rel"
"github.com/go-rel/rel/adapter/sql"
"github.com/stretchr/testify/assert"
)

Expand Down Expand Up @@ -74,13 +73,6 @@ type Composite struct {
Data string
}

var (
config = sql.Config{
Placeholder: "?",
EscapeChar: "`",
}
)

func assertConstraint(t *testing.T, err error, ctype rel.ConstraintType, key string) {
assert.NotNil(t, err)
cerr, ok := err.(rel.ConstraintError)
Expand Down

0 comments on commit 2d07721

Please sign in to comment.