17 Commits
Author SHA1 Message Date
Drayton MunsterandGitHub 326d24fbbe key: add AllowDuplicateShadowValues option (#298) 2021-09-07 11:41:39 +08:00
91a7cdb4a0 ci: migrate from Travis to GitHub Actions (#230)
* ci: migrate from Travis to GitHub Actions

* Setting up GOPATH

* Download dependencies

* Fix GOPATH

* Fix GOPATH

* Fix GOPATH

* Fix deps

* Damn it!

* ???

* Init Go mod

* Fix lint errors

* Fix failing tests on Windows

* Skip some tests on Windows

Co-authored-by: Sourcegraph Bot <campaigns@sourcegraph.com>
2020-03-28 14:26:37 +08:00
Unknwon 2e33564b44 key: fix panic when recursive value has missing target (#191) 2019-10-17 18:13:53 -07:00
JeffasandJiahua Chen e2da38cefe {key, struct}: add support for []bool (#206) 2019-09-18 17:10:38 -07:00
Unknwon ece0e89bb0 *: refactor constants to use camelcase 2019-02-17 14:54:15 -05:00
DPand无闻 f841668f03 key: support parsing hex number (#178)
* parse hex number on map to struct

* pasre hex number on slice int

* add test case
fix: Key().Int() use ParseInt instead of Atoi

* testcase move to L183

* fix names
2019-01-03 09:51:06 +08:00
Garner Fox McCloudand无闻 a9da9309fb key: fix recursive char stripping when parsing recursive values (#177) 2018-12-22 09:53:20 -05:00
Unknwon 32e4c1e6bc key: support nested values (#131)
Docs: http://docs.aws.amazon.com/cli/latest/topic/config-vars.html#nested-values
2017-11-19 00:34:21 -05:00
Unknwon 7e7da45132 key: add test for recursive values (#130) 2017-11-13 20:13:26 -05:00
Unknwon 7006dbe48c TESTING: improve overall code quality 2017-10-23 06:27:56 -04:00
Adam Tauberand无闻 696b7e6429 key: escape delimiters in string slice values (#116)
* Escape delimiters in string slice values

Fixes #32

* [enh] add test
2017-10-14 17:03:21 -04:00
Unknwon 74bdc99692 Add new function ShadowLoad 2017-02-22 06:10:43 -05:00
Unknwon 173c8ba8e6 key: able to write out shadows 2017-02-21 22:56:27 -05:00
Unknwon 6a67acc2cd key: add shadow keys 2017-02-21 22:36:12 -05:00
Unknwon e0f460c8b6 #45 Must... methods assign default value when void 2016-06-30 00:25:09 +08:00
AT1012andUnknwon d291594290 Retrieve parent keys accessible from a child section (#52)
Retrieve parent keys available to a child section
2016-06-01 12:00:29 -07:00
Unknwon f461e76789 Reorganize files and change behavior of pretty format 2016-02-20 01:16:12 -05:00