- Jan 16, 2025
-
-
Taavi Väänänen authored
-
- Jan 14, 2025
-
-
Taavi Väänänen authored
Uploading to permit a testing migration.
-
Taavi Väänänen authored
-
- Jan 11, 2025
-
-
Taavi Väänänen authored
-
Taavi Väänänen authored
-
- Jan 04, 2025
-
-
Taavi Väänänen authored
-
Taavi Väänänen authored
-
Taavi Väänänen authored
-
Taavi Väänänen authored
go-scfg v0.1.0 Sebastien Binet (1): scfg: add Write Simon Ser (20): Initial commit readme: add GoDoc badge readme: link to spec readme: add link to mailing list readme: switch to godocs.io Use own word splitting function Include line number in error messages Move Block and Directive to scfg.go Fold marshal.go into writer.go Add support for arrays in Decoder Add support for encoding.TextUnmarshaler Rename unmarshalDirectiveParams to unmarshalParamList Add support for unmarshaling directives to slices of structs/maps Fix directiveMapSlice test Include line numbers in unmarshal errors Error out on duplicate scfg struct tag key Remove unnecessary type Error out on anonymous struct field Limit max block nesting depth Move to Codeberg Thorben Günther (1): Allow to set empty strings delthas (1): Add Decoder
-
- Jan 02, 2025
-
-
Simon Ser authored
-
- Jan 28, 2024
-
-
Simon Ser authored
-
- Dec 17, 2023
-
-
Taavi Väänänen authored
-
Taavi Väänänen authored
Upstream release 0.0_git20231211.0b4e72d8
-
Taavi Väänänen authored
-
- Dec 11, 2023
- Dec 09, 2023
-
-
Simon Ser authored
-
- Dec 08, 2023
-
-
Simon Ser authored
We want to test unmarshaling slices of maps, not maps of slices.
-
Simon Ser authored
-
Simon Ser authored
We'll have a similar unmarshalDirectiveList function soon.
-
Simon Ser authored
-
Simon Ser authored
-
delthas authored
This adds unmarshaling support to go-scfg, inspired by the Go json library. Co-authored-by: Simon Ser <contact@emersion.fr>
-
Simon Ser authored
For symmetry with reader.go.
-
Simon Ser authored
This is shared between readers and writers.
-
- Oct 04, 2023
-
-
Sebastien Binet authored
Signed-off-by: Sebastien Binet <s@sbinet.org>
-
- Sep 30, 2023
-
-
Thorben Günther authored
Something like this in the config file test "" would currently fail with the following error: directive "test": want 1 params, got 0 By allowing go-scfg to read empty strings, it would be possible to set default values, but still allow users to unset those.
-
Taavi Väänänen authored
-
- Sep 24, 2023
-
-
Taavi Väänänen authored
Upstream 0.0_git20230924.0701f916
-
Taavi Väänänen authored
-
- Aug 28, 2023
-
-
Simon Ser authored
-
- Jun 01, 2023
-
-
Simon Ser authored
scfg word splitting is a bit different than shlex'. Let's just implement our own parser.
-
- Nov 03, 2022
-
-
Taavi Väänänen authored
-
- Oct 31, 2022
-
-
Nilesh Patra authored
-
- Oct 29, 2022
-
-
Taavi Väänänen authored
-
Taavi Väänänen authored
-
Taavi Väänänen authored
-
- Dec 15, 2021
-
-
Simon Ser authored
-