Gustavo Niemeyer
|
b752bd586e
Trivial reorg in Node field ordering.
|
7 years ago |
Gustavo Niemeyer
|
bae442e838
Fix travis.yaml reference to Go 1.10.
|
7 years ago |
Gustavo Niemeyer
|
6dcbc7a4da
Add recent Go versions to the test matrix.
|
7 years ago |
Gustavo Niemeyer
|
6cdc503e36
Call MarshalYAML on the result of MarshalYAML
|
7 years ago |
Gustavo Niemeyer
|
857fb44950
Move package back to its real location.
|
7 years ago |
Gustavo Niemeyer
|
195d076a5c
More documentation for Node.
|
7 years ago |
Gustavo Niemeyer
|
8e1c50cae4
Update README for v3.
|
7 years ago |
Gustavo Niemeyer
|
3e3283e801
Clarify licensing.
|
7 years ago |
Gustavo Niemeyer
|
82dd14953a
Emit pound prefix ("# ") in comments if missing.
|
7 years ago |
Gustavo Niemeyer
|
39a50f7d78
Rename NodeKind to Kind.
|
7 years ago |
Gustavo Niemeyer
|
af7a659b0a
Rename Node.Children to Node.Content.
|
7 years ago |
Gustavo Niemeyer
|
3fb7823529
Add documentation for Node.
|
7 years ago |
Gustavo Niemeyer
|
f8f8118369
Header/Inline/Footer => {Head,Line,Foot}Comment
|
7 years ago |
Gustavo Niemeyer
|
d22fc9e93a
Fix comment handling around aliases.
|
7 years ago |
Gustavo Niemeyer
|
b53452edad
Handle inlined structs referenced as a pointer.
|
7 years ago |
Gustavo Niemeyer
|
c07216459f
Handle inlined fields implementing Unmarshaler.
|
7 years ago |
Gustavo Niemeyer
|
0d383ff995
Support 0o octals per 1.2 spec.
|
7 years ago |
Gustavo Niemeyer
|
891da3a908
Resolve Node tags on decoding and use short tags.
|
7 years ago |
Gustavo Niemeyer
|
01167db92b
Some 1.1 backward compatibility for bool values.
|
7 years ago |
Gustavo Niemeyer
|
14f799f057
Maps with string keys are now map[string] by default.
|
7 years ago |
Gustavo Niemeyer
|
309c9d1575
Enforce unique mapping keys and drop the option.
|
7 years ago |
Gustavo Niemeyer
|
085f3822cc
Split Strict flag into KnownFields and UniqueKeys.
|
7 years ago |
Gustavo Niemeyer
|
9e322716c2
Do not accept plain ints into time.Duration.
|
7 years ago |
Gustavo Niemeyer
|
b9fa90259b
Fix indentation of block map under sequence.
|
7 years ago |
Gustavo Niemeyer
|
3c39489ee0
Change default indentation to 4 spaces.
|
7 years ago |
Gustavo Niemeyer
|
2c9fce8bed
Support custom indentation via Encoder.SetIndent.
|
7 years ago |
Gustavo Niemeyer
|
112d6e722c
Parse floats correctly and fix mistake from #171
|
7 years ago |
Gustavo Niemeyer
|
e990009760
Change Unmarshaler so it uses Node as input.
|
7 years ago |
Gustavo Niemeyer
|
e8e5527513
Lowercase error messages.
|
7 years ago |
Gustavo Niemeyer
|
b804f79fbc
Drop MapSlice in favor of general Node support.
|
7 years ago |