Skip to content

refactor: move mocks#307

Merged
devhaozi merged 19 commits intomasterfrom
haozi/mock
Oct 5, 2023
Merged

refactor: move mocks#307
devhaozi merged 19 commits intomasterfrom
haozi/mock

Conversation

@devhaozi
Copy link
Member

@devhaozi devhaozi commented Oct 3, 2023

Closes #

📑 Description

Move mocks and enable auto generate mocks.

TODO:

  • change mock imports in each packages.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

@devhaozi
Copy link
Member Author

devhaozi commented Oct 3, 2023

@goravel/core-developers pls update your local mockery to latest version.

@devhaozi
Copy link
Member Author

devhaozi commented Oct 3, 2023

I want to write a script to auto generate mocks, let me see how to implement it.

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Files Coverage Δ
database/gorm/gorm.go 70.73% <ø> (ø)
database/gorm/query.go 59.97% <100.00%> (ø)
database/gorm/test_utils.go 83.30% <ø> (ø)
testing/docker/database.go 61.85% <ø> (ø)
testing/docker/docker.go 100.00% <100.00%> (ø)
database/wire_interface.go 0.00% <0.00%> (ø)

📢 Thoughts on this report? Let us know!.

@devhaozi
Copy link
Member Author

devhaozi commented Oct 3, 2023

@hwbrzzl I want to make all mocks in one folder, What do you think?
image

@devhaozi
Copy link
Member Author

devhaozi commented Oct 3, 2023

@hwbrzzl I want to make all mocks in one folder, What do you think? image

https://vektra.github.io/mockery/v2.34/migrating_to_packages/

@devhaozi devhaozi changed the title feat: update mocks refactor: move mocks Oct 3, 2023
@devhaozi
Copy link
Member Author

devhaozi commented Oct 3, 2023

Completed, now CI will automatically generate the Mocks file and automatically commit it when there are changes in the Mocks file.

@devhaozi devhaozi requested review from a team and krishankumar01 October 3, 2023 16:57
@krishankumar01
Copy link
Member

Completed, now CI will automatically generate the Mocks file and automatically commit it when there are changes in the Mocks file.

That's great! now, we don't have generate mocks after every changes.

krishankumar01
krishankumar01 previously approved these changes Oct 3, 2023
Copy link
Contributor

@hwbrzzl hwbrzzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty good!

@devhaozi devhaozi enabled auto-merge (squash) October 5, 2023 07:12
@devhaozi devhaozi requested a review from hwbrzzl October 5, 2023 07:12
Copy link
Contributor

@hwbrzzl hwbrzzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A great PR!

@devhaozi devhaozi merged commit 72e221e into master Oct 5, 2023
@devhaozi devhaozi deleted the haozi/mock branch October 5, 2023 08:42
hwbrzzl added a commit that referenced this pull request Oct 12, 2023
* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Register multiple events

* Fix typo

* Restore

* Allow multiple events registeration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>
hwbrzzl added a commit that referenced this pull request Oct 12, 2023
* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix database variable

* Restore

* Fix database typo

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>
devhaozi added a commit that referenced this pull request Nov 4, 2023
* Upgrade v1.13.1

* Merge #305, #306 to v1.13.x (#308)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>

* fix: [#270] Optimize postgres DNS (#309)

* fix: [#270] Optimize postgres DNS

* Fix unit test

* fix: [#253] [Bug] The With method can't be used with the Cursor method together (#311)

* fix: #253 [Bug] The With method can't be used with the Cursor method together

* Remove test

* Upgrade v1.13.2

* Update README

* fix: Register multiple events (#317)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Register multiple events

* Fix typo

* Restore

* Allow multiple events registeration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* fix: database variable (#316)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix database variable

* Restore

* Fix database typo

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* feat: [#265] The Config module supports get system environment variables (#329)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: Ahmed M. Ammar <ahmed3mar@outlook.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>
hwbrzzl added a commit that referenced this pull request Feb 22, 2024
* Upgrade v1.13.1

* Merge #305, #306 to v1.13.x (#308)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>

* fix: [#270] Optimize postgres DNS (#309)

* fix: [#270] Optimize postgres DNS

* Fix unit test

* fix: [#253] [Bug] The With method can't be used with the Cursor method together (#311)

* fix: #253 [Bug] The With method can't be used with the Cursor method together

* Remove test

* Upgrade v1.13.2

* Update README

* fix: Register multiple events (#317)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Register multiple events

* Fix typo

* Restore

* Allow multiple events registeration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* fix: database variable (#316)

* Upgrade v1.13.1 (#295)

* Update README

* build(deps): bump the go-modules group with 1 update (#296)

Bumps the go-modules group with 1 update: [github.com/bytedance/sonic](https://github.com/bytedance/sonic).

- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#297)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#299)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#300)

Bumps the github-actions group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action).

- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* feat: add GetBytes method and test cases (#298)

* feat: add GetBytes method and test cases

* workflow: remove filesystem

* fix: lint

* feat: optimize code

* feat: optimize test

* fix: windows tests

* workflow: fix

* fix: file not close

* feat: optimize code

* fix: lint

* fix: lint

* fix: test

* feat: Add interface comments (#292)

* Add interface comments to all facades

* Add comments for remaining contracts

* convert the first letter of word to a lower case in godoc comments

* Add a space for each comment after //

* build(deps): bump the go-modules group with 1 update (#301)

Bumps the go-modules group with 1 update: [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).

- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.7...v2.2.8)

---
updated-dependencies:
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#303)

Bumps the go-modules group with 1 update: [google.golang.org/grpc](https://github.com/grpc/grpc-go).

- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.58.1...v1.58.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix:[#263] There is a path error in the filesystem module (#305)

* feat: Add Fluent String helpers (#304)

* add fluent strings helpers

* add more fluent string helpers

* add headline helper

* add test cases for fluent strings

* add test cases for headline function

* modify, according to suggestions

* modify, according to suggestions

* reformat the str file

* fix: #267 (#306)

* feat: add environment helper

* feat: optimize sonic

* fix: tests

* feat: rename to env

* feat: optimize json

* fix: optimize tests

* refactor: move mocks (#307)

* feat: update mocks

* refactor: move mocks

* workflow: remove code review

* workflow: fix mockery

* fix: update mocks

* refactor: move gorm initialize interface to contracts folder

* feat: test generate mock

* workflow: update mock

* chore: update mocks

* chore: remove unnecessary go generate tag

* workflow: only generate mocks in master branch

* workflow: fix lint

* workflow: make mockery only run on pr

* feat: move Gorm interface to contracts/database/gorm

* feat: move Gorm interface to contracts/database/gorm

* feat: move interface

* chore: update mocks

* fix: test

---------

Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#310)

Bumps the go-modules group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto).

- [Commits](golang/crypto@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the github-actions group with 1 update (#312)

Bumps the github-actions group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action).

- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](stefanzweifel/git-auto-commit-action@v4...v5)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump the go-modules group with 1 update (#313)

Bumps the go-modules group with 1 update: [github.com/spf13/viper](https://github.com/spf13/viper).

- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>

* build(deps): bump the go-modules group with 2 updates (#315)

Bumps the go-modules group with 2 updates: [github.com/bytedance/sonic](https://github.com/bytedance/sonic) and [github.com/golang-module/carbon/v2](https://github.com/golang-module/carbon).


Updates `github.com/bytedance/sonic` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](bytedance/sonic@v1.10.1...v1.10.2)

Updates `github.com/golang-module/carbon/v2` from 2.2.8 to 2.2.9
- [Release notes](https://github.com/golang-module/carbon/releases)
- [Commits](golang-module/carbon@v2.2.8...v2.2.9)

---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
- dependency-name: github.com/golang-module/carbon/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix database variable

* Restore

* Fix database typo

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Wenbo Han <hwbrzzl@gmail.com>
Co-authored-by: Bowen <wenbo.han@compass.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>

* feat: [#265] The Config module supports get system environment variables (#329)

* feat: [#265] The Config module supports get system environment variables (#335)

* feat: [#265] The Config module supports get system environment variables

* Add unit tests

* Upgrade v1.13.3

* Update mock

* Upgrade v1.13.4

* fix: [#312] orm connection is not working (#354)

* fix: [#312] orm connection is not working

* Optimize logic

* Optimize unit test

* Optimize unit test

* Optimize unit tests

---------

Co-authored-by: Bowen <bowen@192.168.0.101>

* fix: [#320] mock.Log() is not working (#355)

* Upgrade v1.13.5 (#357)

* fix: [#341] The Chain Query isn't executed one by one (#380)

* Upgrade v1.13.7

* Merge orm

* Optmize merge

* update go.mod

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 耗子 <i@haozi.net>
Co-authored-by: krishan kumar <84431594+kkumar-gcc@users.noreply.github.com>
Co-authored-by: Ahmed M. Ammar <ahmed3mar@outlook.com>
Co-authored-by: devhaozi <devhaozi@users.noreply.github.com>
Co-authored-by: Bowen <bowen@192.168.0.101>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants