Skip to content

Commit af6ff50

Browse files
authored
Merge pull request #2 from JalinWang/rename
feat: rename module name
2 parents ee30a2f + 4097690 commit af6ff50

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Go
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: []
66
pull_request:
77
branches: [ master ]
88

@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@v2
5555

5656
- name: Run semantic-release
57-
if: github.repository == 'casbin/gorm-adapter' && github.event_name == 'push'
57+
if: github.repository == 'casbin/gorm-adapter-ex' && github.event_name == 'push'
5858
run: |
5959
npm install --save-dev semantic-release@17.2.4
6060
npx semantic-release

adapter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package gormadapter
15+
package gormadapterex
1616

1717
import (
1818
"context"

adapter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package gormadapter
15+
package gormadapterex
1616

1717
import (
1818
"fmt"

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
module github.com/casbin/gorm-adapter/v3
1+
module github.com/casbin/gorm-adapter-ex/v3
22

33
go 1.14
44

55
require (
6-
github.com/casbin/casbin/v2 v2.37.4
6+
github.com/casbin/casbin/v2 v2.52.2
77
github.com/glebarez/sqlite v1.4.3
88
github.com/go-sql-driver/mysql v1.6.0
99
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible h1
66
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
77
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
88
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
9-
github.com/casbin/casbin/v2 v2.37.4 h1:RWSKPjaZ8JlOBlcW1bI/FTII8OPxvQ9jVy9JwyNL6DQ=
10-
github.com/casbin/casbin/v2 v2.37.4/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg=
9+
github.com/casbin/casbin/v2 v2.52.2 h1:abZxXXlFu0Yl9IR8h7awjtr+iQ4k4Hmzvgn7bdLenNk=
10+
github.com/casbin/casbin/v2 v2.52.2/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg=
1111
github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=
1212
github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
1313
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=

0 commit comments

Comments
 (0)