Commit Graph

322 Commits

Author SHA1 Message Date
Vasily Romanov 94de47d64c Merge pull request #190 from WUMUXIAN/master
changed the unmarshalling behaviour for unmarshalling {"key": []} int…
2019-06-14 15:48:28 +03:00
Vasily Romanov 1ea4449da9 Merge pull request #219 from shmel1k/feature/issue_212_implement_key_text_marshaler
Implement encoding.TextMarshaler interface for map keys
2019-04-03 22:44:19 +03:00
Aleksandr Petrukhin 7169726fa7 [tests] added tests for key text marshaler 2019-04-03 16:59:05 +00:00
Aleksandr Petrukhin a0e09156bb [decoder] implemented encoding.Marshaler for map keys 2019-04-03 16:25:01 +00:00
Aleksandr Petrukhin 6b5a421538 [encoder] implemented encoding.Marshaler for map keys 2019-04-03 15:41:30 +00:00
Vasily Romanov 1de009706d Merge pull request #211 from sosiska/patch-1
Rewrite some if-else-if-else chains as a switch
2019-03-12 17:32:42 +03:00
Kirill Motkov aced9b46ed Rewrite some if-else-if-else chains as a switch 2019-03-12 16:16:26 +03:00
Vasily Romanov 6243d8e04c Merge pull request #209 from shmel1k/bugfix/issue_207_fix_reference_to_pointer
[decoder] remove unnecessary reference to a pointer
2019-02-21 10:54:03 +03:00
Vasily Romanov 72a69868c3 Merge pull request #197 from kenshaw/fix-pkgpath-concurrency-issue
Fixes a concurrency issue with package path cache
2019-02-21 10:43:41 +03:00
Vasily Romanov fae5a7845c Merge pull request #206 from sntdevco/patch-1
Fix a little typo
2019-02-21 10:37:07 +03:00
Vasily Romanov 991105cc65 Merge pull request #200 from unravelin/master
Stdlib json handles embedded structs with json tags differently.
2019-02-21 10:36:06 +03:00
Aleksandr Petrukhin b27fccced4 [decoder] remove unnecessary reference to a pointer 2019-02-20 21:52:23 +00:00
Sayan Nandan f9215f98e1 Fix a little typo 2019-02-20 17:47:27 +05:30
Phil Pearl 4dd12460d3 Fix golint issue 2019-01-10 18:56:11 +00:00
Phil Pearl 0e998db2a9 Stdlib json handles embedded structs with json tags differently.
See 	https://play.golang.org/p/KXZbjG0JBle for an example
2019-01-10 18:43:09 +00:00
Kenneth Shaw f60ef38230 Fixes a concurrency issue with package path cache
The `chromedp-gen` tool, which makes use of the raw code, would
occassionally encounter a concurrent map write (on slow systems). This
adds a simple `sync.RWMutex` to the map causing problems.
2018-12-18 09:40:51 -07:00
Muxian Wu a402cc944c fixed the test case 2018-09-28 09:14:50 +08:00
Muxian Wu 0aa3c88d86 changed the unmarshalling behaviour for unmarshalling {"key": []} into map[string]interface{}. The value for "key" in the map will be an empty slice instead of a nil slice. 2018-09-27 15:16:26 +08:00
Vasily Romanov 60711f1a83 Merge pull request #185 from zelenin/master
go modules support
2018-08-23 16:54:43 +03:00
Aleksandr Zelenin f4d3cd0fd0 relative paths fix 2018-08-23 05:35:26 +03:00
Aleksandr Zelenin e0ec68febc go modules support 2018-08-23 03:47:26 +03:00
Vasily Romanov 03f2033d19 Merge pull request #184 from alexej-v/errInvalidToken_panic_fix
Fix lexer.errInvalidToken panic
2018-07-30 12:45:02 +03:00
alexej-v dd93bf1256 Fixes after review 2018-07-27 11:03:01 +03:00
alexej-v 30bdb172b2 Fix lexer.errInvalidToken panic 2018-07-26 14:30:18 +03:00
Vasily Romanov d5012789d6 Merge pull request #154 from xStrom/win-path
Fix handling of non-lowercase packages on Windows.
2018-07-24 01:18:31 +03:00