Commit Graph

147 Commits

Author SHA1 Message Date
the harder the luckier
eb11061bd2
fix: gjson encode to string expect inconformity(issue 2520) (#2928) 2023-09-04 21:19:22 +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
5884a0e05f
fix issue #2381 (#2382)
* fix issue #2381

* up

* up
2023-01-03 11:00:23 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +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
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
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
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
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
144249fcff Implemented gjson Example
1.SetSplitChar
2022-02-17 20:29:38 +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
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
huangqian
8cb6086f73 Implemented gjson Example
1. New 2.NewWithTag 3.NewWithOptions
2022-02-12 17:27:32 +08:00
John Guo
e517bf7b0e improve details for package gjson/gtcp/gudp 2022-01-22 15:45:38 +08:00
John Guo
c75cce0378 fix issue in package gjson for interface assertion of nil Json 2022-01-21 12:38:06 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
John Guo
56f88f759a add buildin function yamli for package gview 2022-01-17 17:10:44 +08:00
John Guo
c72a9f2e1e add buildin functions xml/ini/yaml/toml for package gview 2022-01-17 15:55:45 +08:00
John Guo
d4b502f14e fix issue #1571 2022-01-15 22:15:10 +08:00
John Guo
4943c3a9e0 add UT cases for package gjson 2022-01-15 20:25:29 +08:00
John Guo
6ded700f92 add options for Decode/DecodeTo/DecodeToJson functions of package gjson 2022-01-13 12:09:04 +08:00
John Guo
079cf9d7b8 add function EncodeString for package gjson 2021-12-26 16:16:16 +08:00
John Guo
ca5c0cc84d add MustEncodeString for package gjson 2021-12-26 14:42:09 +08:00