mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
feat(container/gmap): add generic map feature (#4484)
add hash kvmap and let other hash map base on it. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: hailaz <739476267@qq.com>
This commit is contained in:
4
.github/workflows/scripts/ci-main.sh
vendored
4
.github/workflows/scripts/ci-main.sh
vendored
@ -52,13 +52,13 @@ for file in `find . -name go.mod`; do
|
||||
|
||||
# test with coverage
|
||||
if [ "${coverage}" = "coverage" ]; then
|
||||
go test ./... -race -coverprofile=coverage.out -covermode=atomic -coverpkg=./...,github.com/gogf/gf/... || exit 1
|
||||
go test ./... -count=1 -race -coverprofile=coverage.out -covermode=atomic -coverpkg=./...,github.com/gogf/gf/... || exit 1
|
||||
|
||||
if grep -q "/gogf/gf/.*/v2" go.mod; then
|
||||
sed -i "s/gogf\/gf\(\/.*\)\/v2/gogf\/gf\/v2\1/g" coverage.out
|
||||
fi
|
||||
else
|
||||
go test ./... -race || exit 1
|
||||
go test ./... -count=1 -race || exit 1
|
||||
fi
|
||||
|
||||
cd -
|
||||
|
||||
Reference in New Issue
Block a user