Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(util/gconv): add Converter feature for more flexable and extensible type converting #4107

Merged
merged 56 commits into from
Mar 6, 2025
Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
789baf5
fix(database/gdb): json type field incorrect scanning to string slice…
gqcn Jan 9, 2025
0083153
gofmt
gqcn Jan 9, 2025
5fd1064
Apply gci import order changes
github-actions[bot] Jan 9, 2025
7d79aea
up
gqcn Jan 9, 2025
98ff5d4
Merge branch 'fix/4086' of github.com:gogf/gf into fix/4086
gqcn Jan 9, 2025
6316625
up
gqcn Jan 9, 2025
19c8036
up
gqcn Jan 9, 2025
2ae1684
up
gqcn Jan 9, 2025
185316c
up
gqcn Jan 9, 2025
73b5bfa
up
gqcn Jan 9, 2025
da5fc0e
up
gqcn Jan 9, 2025
4f069ef
merge master
gqcn Feb 27, 2025
67bb75a
fix: 4086
gqcn Feb 27, 2025
896edfb
Apply gci import order changes
github-actions[bot] Feb 27, 2025
ce2cf3c
up
gqcn Feb 28, 2025
e83d378
Merge branch 'fix/4086-fix' of github.com:gogf/gf into fix/4086-fix
gqcn Feb 28, 2025
e311630
up
gqcn Feb 28, 2025
0757ab7
up
gqcn Feb 28, 2025
dd8817f
up
gqcn Feb 28, 2025
dae543c
up
gqcn Feb 28, 2025
d0e0efb
up
gqcn Feb 28, 2025
d24245e
up
gqcn Feb 28, 2025
97c40a5
up
gqcn Feb 28, 2025
7f03024
up
gqcn Mar 2, 2025
da93839
Apply gci import order changes
github-actions[bot] Mar 2, 2025
d5e786c
up
gqcn Mar 2, 2025
1c1c145
Merge branch 'fix/4086-converter' of github.com:gogf/gf into fix/4086…
gqcn Mar 2, 2025
bd5b6a1
up
gqcn Mar 2, 2025
56a36f5
up
gqcn Mar 2, 2025
33a8d32
up
gqcn Mar 2, 2025
b52ba15
up
gqcn Mar 2, 2025
d7a246c
up
gqcn Mar 2, 2025
1c1558b
up
gqcn Mar 2, 2025
996b141
up
gqcn Mar 2, 2025
355ef48
up
gqcn Mar 2, 2025
d42d2c2
up
gqcn Mar 2, 2025
cb7ae2e
up
gqcn Mar 3, 2025
c031261
up
gqcn Mar 3, 2025
4912659
up
gqcn Mar 3, 2025
19446fc
up
gqcn Mar 3, 2025
9546cd6
up
gqcn Mar 3, 2025
7878530
up
gqcn Mar 3, 2025
ceafbfd
make lint
gqcn Mar 3, 2025
65172fb
make lint
gqcn Mar 3, 2025
f97a6fa
up
gqcn Mar 3, 2025
48cf952
merge master
gqcn Mar 3, 2025
23c7aae
up
gqcn Mar 3, 2025
6e43072
up
gqcn Mar 3, 2025
760799f
up
gqcn Mar 3, 2025
65a0d51
开放RegisterAnyConverterFunc接口
wln32 Mar 5, 2025
a4add90
1.支持接口类型的自定义转换
wln32 Mar 5, 2025
9c458ba
添加测试
wln32 Mar 5, 2025
4ac7359
补充测试
wln32 Mar 5, 2025
5feda53
supplement to PR #4107 (#4183)
wln32 Mar 5, 2025
65fccb5
up
gqcn Mar 6, 2025
eba51b7
up
gqcn Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
up
gqcn committed Jan 9, 2025
commit 19c8036db086e34d3dddfef04b9acafd461cfafd
6 changes: 3 additions & 3 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ concurrency:
env:
TZ: "Asia/Shanghai"
# for unit testing cases of some components that only execute on the latest go version.
LATEST_GO_VERSION: "1.23"
LATEST_GO_VERSION: "1.24"

jobs:
code-test:
@@ -40,7 +40,7 @@ jobs:
# 1. Update the `LATEST_GO_VERSION` env variable.
# 2. Update the `Report Coverage` action.
# 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
go-version: [ "1.20", "1.21", "1.22", "1.23" ]
go-version: [ "1.22", "1.23", "1.24"]
goarch: [ "386", "amd64" ]

runs-on: ubuntu-20.04
@@ -268,7 +268,7 @@ jobs:
- name: Report Coverage
uses: codecov/codecov-action@v4
# Only report coverage on the latest go version and amd64 arch
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.23' && matrix.goarch == 'amd64' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.24' && matrix.goarch == 'amd64' }}
with:
flags: go-${{ matrix.go-version }}-${{ matrix.goarch }}
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-sub.yml
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ concurrency:
env:
TZ: "Asia/Shanghai"
# for unit testing cases of some components that only execute on the latest go version.
LATEST_GO_VERSION: "1.23"
LATEST_GO_VERSION: "1.24"

jobs:
code-test:
@@ -40,7 +40,7 @@ jobs:
# When adding new go version to the list, make sure:
# 1. Update the `LATEST_GO_VERSION` env variable.
# 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
go-version: [ "1.20", "1.21", "1.22", "1.23" ]
go-version: [ "1.22", "1.23", "1.24" ]
goarch: [ "386", "amd64" ]

runs-on: ubuntu-latest