From 2d077216cc070345c32cf3140b27ba3e8d862351 Mon Sep 17 00:00:00 2001 From: Surya Asriadie Date: Sun, 14 Nov 2021 18:22:56 +0900 Subject: [PATCH] Bump REL v0.30.0 (#18) --- go.mod | 2 +- go.sum | 5 +++-- specs/specs.go | 8 -------- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/go.mod b/go.mod index 3a16343..5e5c3a4 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 1659e12..71ffba4 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/specs/specs.go b/specs/specs.go index e0b66f8..e998840 100644 --- a/specs/specs.go +++ b/specs/specs.go @@ -8,7 +8,6 @@ import ( "time" "github.com/go-rel/rel" - "github.com/go-rel/rel/adapter/sql" "github.com/stretchr/testify/assert" ) @@ -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)