Skip to content

Commit

Permalink
💥 Remove builtin mysql adapter (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fs02 committed Nov 14, 2021
1 parent d3aa0b8 commit 3243db8
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 323 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/integration.yml

This file was deleted.

10 changes: 1 addition & 9 deletions .github/workflows/test.yml
Expand Up @@ -61,18 +61,10 @@ jobs:
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
- name: Setup MySQL
uses: mirromutth/mysql-action@v1.1
with:
mysql database: rel_test
mysql user: rel
mysql password: rel
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 2
- env:
MYSQL_DATABASE: rel:rel@(127.0.0.1:3306)/rel_test
run: go test -race -tags=all -coverprofile=coverage.txt -covermode=atomic ./...
- run: go test -race -tags=all -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@v1
124 changes: 0 additions & 124 deletions adapter/mysql/mysql.go

This file was deleted.

144 changes: 0 additions & 144 deletions adapter/mysql/mysql_test.go

This file was deleted.

12 changes: 0 additions & 12 deletions docker-compose.yml

This file was deleted.

2 changes: 0 additions & 2 deletions go.mod
Expand Up @@ -2,9 +2,7 @@ module github.com/go-rel/rel

require (
github.com/go-rel/reltest v0.4.0
github.com/go-sql-driver/mysql v1.6.0
github.com/jinzhu/inflection v1.0.0
github.com/lib/pq v1.10.4
github.com/mattn/go-sqlite3 v1.14.9
github.com/serenize/snaker v0.0.0-20201027110005-a7ad2135616e
github.com/stretchr/testify v1.7.0
Expand Down
3 changes: 0 additions & 3 deletions go.sum
Expand Up @@ -6,7 +6,6 @@ github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4
github.com/go-rel/rel v0.28.0/go.mod h1:zaIYPmM3AfJrh0xBmm7KoVKRgTNvr0cgZfcJ88gVA2U=
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 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE=
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=
github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
Expand All @@ -24,8 +23,6 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E=
github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc=
github.com/lib/pq v1.10.3/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.4 h1:SO9z7FRPzA03QhHKJrH5BXA6HU1rS4V2nIVrrNC1iYk=
github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/mattn/go-sqlite3 v1.14.9 h1:10HX2Td0ocZpYEjhilsuo6WWtUqttj2Kb0KtD86/KYA=
github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78=
Expand Down

0 comments on commit 3243db8

Please sign in to comment.