Commit Graph

220 Commits

Author SHA1 Message Date
oldme
42e3c5f39a
fix #3253 (#3255) 2024-01-11 22:14:22 +08:00
the harder the luckier
eb11061bd2
fix: gjson encode to string expect inconformity(issue 2520) (#2928) 2023-09-04 21:19:22 +08:00
John Guo
53e5a04073
change minimum golang version from v1.15 to v1.18 (#2820) 2023-08-01 21:15:28 +08:00
rexxar5188
46f3196297
Update gcompress_zip.go (#2694)
Fix index out of range when zipfile has dir __MAXOSX
2023-06-12 20:46:31 +08:00
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
HaiLaz
5083174a92
fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
John Guo
117fc6eda2
fix issue #2339 (#2433) 2023-02-08 19:08:10 +08:00
John Guo
2b90bcfab6
fix issue #2050: add -t option support for command gf docker to compatable with older version (#2423) 2023-02-07 17:41:43 +08:00
John Guo
5884a0e05f
fix issue #2381 (#2382)
* fix issue #2381

* up

* up
2023-01-03 11:00:23 +08:00
王哈哈
4f4109cdb6
fix typo for comments (#2268)
* Modify comment syntax error

* Modify comment syntax error
2022-11-07 17:55:49 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
2be9bb970b
add function ZipPathContent for package gcompress (#2179)
add function ZipPathContent for package gcompress
2022-10-09 19:19:10 +08:00
John Guo
f1455ad37a
fix issue #2172 (#2173)
* version updates

* fix issue #2172
2022-10-08 11:46:38 +08:00
John Guo
141ca62c6d
feature/v2.2.0 (#2154) 2022-09-26 22:11:13 +08:00
John Guo
faf09c586c
add GzipPathWriter for package gcompress (#2116)
* add GzipPathWriter for package gcompress

* UT case updates for package package gclient
2022-09-08 17:32:21 +08:00
Gin
82a3391937
fix precision lost of int64 for package gcfg (#2044)
fix: gcfg lose precision

Co-authored-by: qinyuguang <qinyuguang@meican.com>
2022-08-03 21:50:17 +08:00
unknown
0e2a0075ef Use gconv.String instead of cast.ToString. 2022-05-12 22:59:08 +08:00
unknown
4902eb73b7 gfmt file 2022-05-12 21:31:54 +08:00
unknown
be9377a496 add test cases 2022-05-12 17:05:02 +08:00
unknown
d5d56e51d7 增加用例覆盖率 2022-05-12 09:39:15 +08:00
unknown
da7eac03ad delete package comment 2022-05-12 00:25:30 +08:00
unknown
060f67c2c8 change decode/encode lib for properties to magiconair 2022-05-12 00:23:46 +08:00
unknown
59023f9f09 delete empty line after package comment. 2022-05-11 11:08:05 +08:00
unknown
17e48ba9f2 Add test case for func tojson 2022-05-11 01:02:36 +08:00
unknown
e60b42470e [MOD] User viper as the properties file decoding lib. 2022-05-11 00:48:22 +08:00
unknown
7198eb3b66 add support for .properties configuration file 2022-05-08 00:23:24 +08:00
John Guo
cfd2636f13
Merge pull request #1795 from huangqian1985/master
add ExampleEncode function
2022-05-05 22:18:20 +08:00
huangqian
3628b1e9d2 add ExampleEncode function 2022-05-02 17:29:19 +08:00
John Guo
ac5d399906 improve package guid 2022-04-19 16:18:49 +08:00
qinyuguang
9ff5f39701 fix issue #1747 2022-04-12 23:30:18 +08:00
John Guo
d5e5a48170 fix issue #1747 2022-04-11 20:49:33 +08:00
John Guo
1e141d9f64 improve package gjson/ghttp 2022-04-07 21:26:39 +08:00
John Guo
bceb5fc7de rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +08:00
John Guo
b3e66d8023 improve package gjson 2022-03-15 21:45:47 +08:00
John Guo
d8d9996464 fix issue #1662 2022-03-11 10:24:42 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
huangqian
30be5c5e49 Improving gjson Code Coverage And Fix 2022-02-26 21:26:30 +08:00
huangqian
3a803ac39f fix 2022-02-24 21:41:39 +08:00
huangqian
f54d0a339c Improving gjson Code Coverage 2022-02-24 21:14:11 +08:00
huangqian
d83b676c60 Merge branch 'gjson_example' 2022-02-24 20:15:55 +08:00
huangqian
def3dc364f Merge branch 'master' of https://github.com/gogf/gf 2022-02-24 20:15:44 +08:00
huangqian
298aa5f040 Improving gjson Code Coverage 2022-02-24 20:14:44 +08:00
John Guo
e4d56e7ad9 improve package gjson 2022-02-23 16:54:15 +08:00
huangqian
0fce4edcd3 Merge branch 'master' of https://github.com/gogf/gf 2022-02-23 00:46:47 +08:00
huangqian
da465bb030 Improving gjson Code Coverage 2022-02-23 00:46:13 +08:00
John Guo
d23b24dfba
Merge pull request #1610 from huangqian1985/master
gjson Example Function
2022-02-22 22:03:54 +08:00
John Guo
afa58ed45b fix issue #1227 #1617 2022-02-22 10:43:31 +08:00
huangqian
b2b0a1828e Implemented gjson Example
1.MapStrAny 2.Interfaces 3.Interface 4.Var 5.IsNil 6.Get 7.GetJson 8.GetJsons 9.GetJsonMap 10.Set 11.MustSet 12.Remove 13.MustRemove 14.Contains 15.Len 16.Append 17.MustAppend 18. Map 19.Array 20.Scan 21.Dump
2022-02-19 19:48:50 +08:00
huangqian
5eec9ce7b1 Modify Function Name 2022-02-19 11:43:45 +08:00
huangqian
0bd3537a78 Implemented gjson Example
1.SetViolenceCheck 2.ToJson 3.ToJsonString 4.ToJsonIndent 5.ToJsonIndentString 6.MustToJson 7.MustToJsonString 8.MustToJsonIndent 9.MustToJsonIndentString 10.ToXml 11.ToXmlString 12.ToXmlIndent 13.ToXmlIndentString 14.MustToXml 15.MustToXmlString 16.MustToXmlIndent 17.MustToXmlIndentString 18.ToYaml 19.ToYamlString 20.ToYamlIndent 21.MustToYaml 22.MustToYamlString 23.ToToml 24.ToTomlString 25.MustToToml 26.MustToTomlString 27.ToIni 28.ToIniString 29.MustToIni 30.MustToIniString 31.MarshalJSON 32.UnmarshalJSON 33.UnmarshalValue
2022-02-17 22:54:29 +08:00