tianshapjq
617a1e74e0
delete one testcase from json_test.go for duplicated data
2016-11-30 09:08:08 +08:00
Clayton Coleman
35a6bfbcee
generated: refactor
2016-11-23 22:30:47 -06:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Clayton Coleman
c6961d6fd6
Remove runtime.Typer, reduce to ObjectKinds(1) (3)
...
Remove the unnecessary variants, which avoids allocations in several
core paths.
2016-05-21 23:55:42 -04:00
Clayton Coleman
a84e62d9e6
Change ObjectKind signature to avoid allocations
...
We don't need to pass a pointer into SetGroupKindVersion() - a
struct works just as well.
2016-05-12 10:10:35 -04:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Wojciech Tyczynski
218d3e5923
Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding.
2016-03-16 16:43:58 +01:00
Clayton Coleman
60b66665e1
Move conversion.Scheme to runtime
...
There is only one type registry to rule them all
2016-01-30 14:12:40 -05:00
Clayton Coleman
6b2f70d553
Provide a JSON and YAML serializer, and a versioning wrapper
...
Add a recognizer that is capable of sniffing content type from data by
asking each serializer to try to decode - this is for a "universal
decoder/deserializer" which can be used by client logic.
Add codec factory, which provides the core primitives for content type
negotiation. Codec factories depend only on schemes, serializers, and
groupversion pairs.
2016-01-22 00:12:49 -05:00