Commit Graph

212 Commits

Author SHA1 Message Date
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
huangqian
5882a9dc21 Merge branch 'gjson_example' 2022-02-17 20:30:26 +08:00
huangqian
144249fcff Implemented gjson Example
1.SetSplitChar
2022-02-17 20:29:38 +08:00
John Guo
2461ef9f29 fix issue #1597 2022-02-17 11:46:35 +08:00
huangqian
f8f13bd905 Implemented gjson Example
1.Unmarshal 2.Encode 3.MustEncode 4.EncodeString 5.MustEncodeString 6.Decode 7.DecodeTo 8.DecodeToJson
2022-02-16 22:38:25 +08:00
huangqian
33367fd3ee Implemented gjson Example
1.ExampleValid 2.ExampleMarshal 3.ExampleMarshalIndent
2022-02-15 23:02:48 +08:00
huangqian
3a1cd3d588 Merge branch 'master' of https://github.com/gogf/gf into gjson_example 2022-02-15 22:15:33 +08:00
huangqian
4fc27f6509 Implemented gjson Example
1. ExampleLoad 2.ExampleLoadJson 3.ExampleLoadXml 4.ExampleLoadIni 5.ExampleLoadYaml 6.ExampleLoadToml
7.ExampleLoadContent 8.ExampleLoadContentType 9.ExampleIsValidDataType
2022-02-15 22:08:51 +08:00
John Guo
5f2047d61b fix issue in configuration StdoutColorDisabled for package glog; rename TempDir to Temp for package gfile 2022-02-14 14:50:25 +08:00