Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
09eadca
Initial plan
Copilot Sep 16, 2025
18dc6c2
Add direct *gtime.Time handling in Time converter
Copilot Sep 16, 2025
276de61
Partial fix for timezone preservation and comprehensive test
Copilot Sep 16, 2025
118c483
Complete fix for gtime timezone preservation in Structs conversion
Copilot Sep 16, 2025
7ed9913
Optimize and improve gtime timezone preservation implementation
Copilot Sep 16, 2025
d3b7499
Apply gci import order changes
github-actions[bot] Sep 16, 2025
3a99162
Deep analysis and enhanced fix for gtime timezone preservation
Copilot Sep 16, 2025
c38ea8c
Apply gci import order changes
github-actions[bot] Sep 16, 2025
57ff056
Enhanced builtin converter for gtime timezone preservation
Copilot Sep 16, 2025
40688fd
Apply gci import order changes
github-actions[bot] Sep 16, 2025
426f33a
Add comprehensive test suite for gtime timezone preservation
Copilot Sep 16, 2025
1e01e30
Fix builtin converter to preserve gtime timezone from map inputs
Copilot Sep 16, 2025
a7e9cdb
Apply gci import order changes
github-actions[bot] Sep 16, 2025
12f7a6e
Add comprehensive theoretical analysis and detailed test examples for…
Copilot Sep 16, 2025
c3e5172
Apply gci import order changes
github-actions[bot] Sep 16, 2025
c68b828
feat: 添加对 copilot 分支的支持
hailaz Sep 18, 2025
c3a2a2f
fix: 修正 JSON 标签中的空白字符
hailaz Sep 18, 2025
aa48e7b
fix: 移除 GTime 函数中多余的时区处理逻辑
hailaz Sep 18, 2025
e30fc76
fix: 更新 GTime 和 Time 函数以支持 map[string]any 类型
hailaz Sep 18, 2025
12e2408
fix: 修复基准测试中未使用的 reflect.TypeOf 返回值
hailaz Sep 18, 2025
7ff9c0a
fix: 优化 Time 函数中对 *gtime.Time 的处理逻辑以确保时区信息的保留
hailaz Sep 18, 2025
f16bd34
fix: 优化 Time 函数中对 map 输入的处理逻辑,移除多余的格式参数
hailaz Sep 18, 2025
8253646
fix: 优化 gtime.Time 转换逻辑,减少内存分配并提高性能
hailaz Sep 18, 2025
cef1c11
Merge branch 'master' into copilot/fix-4429
houseme Sep 25, 2025
e3b9d51
Merge branch 'master' into copilot/fix-4429
joy999 Sep 28, 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
2 changes: 2 additions & 0 deletions .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- feature/**
- enhance/**
- fix/**
- copilot/**

pull_request:
branches:
Expand All @@ -20,6 +21,7 @@ on:
- feature/**
- enhance/**
- fix/**
- copilot/**

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- feature/**
- enhance/**
- fix/**
- copilot/**

pull_request:
branches:
Expand All @@ -21,6 +22,7 @@ on:
- feature/**
- enhance/**
- fix/**
- copilot/**

# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- feature/**
- enhance/**
- fix/**
- copilot/**
- feat/**
pull_request:
branches:
Expand All @@ -23,6 +24,7 @@ on:
- feature/**
- enhance/**
- fix/**
- copilot/**
- feat/**

jobs:
Expand Down
4 changes: 2 additions & 2 deletions net/goai/goai_z_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ func Test_NameFromJsonTag(t *testing.T) {
gtest.C(t, func(t *gtest.T) {
type CreateReq struct {
gmeta.Meta `path:"/CreateReq" method:"POST"`
Name string `json:"nick_name, omitempty"`
Name string `json:"nick_name,omitempty"`
}

var (
Expand All @@ -1172,7 +1172,7 @@ func Test_NameFromJsonTag(t *testing.T) {
gtest.C(t, func(t *gtest.T) {
type CreateReq struct {
gmeta.Meta `path:"/CreateReq" method:"GET"`
Name string `json:"nick_name, omitempty" in:"header"`
Name string `json:"nick_name,omitempty" in:"header"`
}
var (
err error
Expand Down
2 changes: 1 addition & 1 deletion os/gstructs/gstructs_z_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (

func Benchmark_ReflectTypeOf(b *testing.B) {
for i := 0; i < b.N; i++ {
reflect.TypeOf(user).String()
_ = reflect.TypeOf(user).String()
}
}

Expand Down
Loading
Loading