Guillaume Ballet
|
408615857a
|
add comment to exported functions (#4)
|
7 years ago |
Felix Lange
|
55422dcc4d
|
add fake uses of the override type to prevent dead code
|
8 years ago |
Felix Lange
|
fba4187079
|
remove `optional:"true"` tag, add `gencodec:"required"` in its place
Declaring fields optional gets annoying pretty quickly, especially for
big configuration structs.
|
8 years ago |
Felix Lange
|
dc5291c62a
|
update test files to match the previous commit
|
8 years ago |
Felix Lange
|
faf3ce92a4
|
don't reset all fields in Unmarshal*
This preserves decoding into a struct with pre-filled, possibly
unexported fields.
|
8 years ago |
Felix Lange
|
b2a8c619f3
|
add support for github.com/naoina/toml
|
8 years ago |
Felix Lange
|
8c7f4ae1e5
|
disable field type pointer-wrapping for Marshal*
This makes the ,omitempty tag work correctly.
|
8 years ago |