1
0
Fork 0
mirror of https://github.com/Luzifer/rconfig.git synced 2024-12-30 08:01:19 +00:00
Commit graph

49 commits

Author SHA1 Message Date
9a13c8c9f1
Lint: Replace deprecated linter
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 15:51:12 +02:00
80dd107159
Fix: Ensure int/uint do not overflow
by utilizing correct parsing for the requested type in strconv

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 15:47:47 +02:00
6f0f872a04
Fix: Add support for int16 flags
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-27 15:47:03 +02:00
7572b1fd7b
prepare release v2.5.1 2024-08-18 12:14:42 +02:00
7a95069d66
Lint: Update linter config, fix linter errors, update CI config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-18 12:12:18 +02:00
33ad929d55
CI: Update linter config for current linter version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-05-12 13:30:09 +02:00
53cf03c464
prepare release v2.5.0 2023-12-20 12:29:17 +01:00
55beba30f9
[CI] Replace old CI with Github Actions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-20 12:23:53 +01:00
c1c878fab9
Update deps, fix linter errors, bump min Go version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-12-20 12:13:59 +01:00
4c83f34ecf
README: Fix test instruction
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-06 19:06:13 +02:00
142eb9f85c
Update README for Go modules
as older versions of Go without modules support are no longer supported

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-06 19:04:48 +02:00
55188676c4
prepare release v2.4.0 2021-09-06 18:59:45 +02:00
adae9e15c7
Switch to repo-runner for tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-06 18:58:12 +02:00
5b328dd443
Drop Go1.15 support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-06 18:44:38 +02:00
37f53184c3
Port tests to pure-Go-tests
to remove dependencies to ginkgo and rconfig/v1

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-06 18:43:24 +02:00
cd793303df
prepare release v2.3.0 2021-08-06 16:15:07 +02:00
f6e69c5ad9
Drop pre-1.15 support, update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-06 16:14:42 +02:00
c7e0147435
Drop support for Go pre-1.10
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-04 19:14:57 +01:00
28374b7f19
Add hint for go modules to v2
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-04 17:11:41 +01:00
d38bbb45e0
prepare release v2.2.1 2019-02-04 17:05:10 +01:00
549f621c85
Add go module information
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-04 17:04:46 +01:00
5b80190bff
prepare release v2.2.0 2018-09-18 00:25:12 +02:00
080d991711
Add more go versions for tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-18 00:24:40 +02:00
f4e07b507a
Add support for time.Time flags
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-18 00:19:51 +02:00
913d4f1e88
prepare release v2.1.0 2018-08-02 12:04:06 +02:00
f2a0efe97c
Add AutoEnv feature
to automatically derive environment variable names from struct field
names

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 12:02:47 +02:00
954ac1f137
Fix: Display tag, this repo does not use releases
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 09:28:55 +02:00
fea5745c0f
Fix LICENSE file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 09:27:24 +02:00
09c1546d76
Update README to reflect v2 version change
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 09:26:42 +02:00
203799bfb5
prepare release v2.0.0 2018-08-02 09:20:09 +02:00
98c74390c0
Breaking: Ensure an empty default string does not yield a slice with 1 element
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-08-02 09:18:59 +02:00
7aef1d393c
prepare release v1.2.0 2017-06-19 14:24:19 +02:00
fbcc119420
Add ParseAndValidate method
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-19 14:23:31 +02:00
31d785fa79
Drop tests for Go 1.4/1.5 2016-08-26 00:15:08 +02:00
b838290304
Update README with better examples 2016-08-26 00:12:39 +02:00
c27bd3a64b
Prepared release v1.1.0 2016-06-28 12:32:40 +02:00
02c6b11d62
Support time.Duration config parameters 2016-06-28 12:31:23 +02:00
26776536e6 Added goreportcard badge 2016-01-20 13:04:18 +01:00
bbd03f60c1 Added testcase for using bool with ENV and default 2016-01-20 12:52:21 +01:00
d8a62bd35f Added Args() function to retrieve positional arguments 2015-12-14 02:04:12 +01:00
d194dded1e Do not enforce canonical import path
fixes #2
2015-09-19 14:21:13 +02:00
be3e157291 Fix: Documentation was missing a package 2015-09-11 10:32:02 +02:00
d5247bc73a Use travis-ci status in readme 2015-09-08 23:22:26 +02:00
53c32370a9 Added travis.yml 2015-09-08 23:20:52 +02:00
541280b9bb Documented versioned dependency 2015-09-08 23:15:13 +02:00
da841b2cc9 Ensured precdence with a test, added documentation 2015-09-08 23:11:35 +02:00
7cb1e0ee85 Added VarDefault functionality 2015-09-08 22:07:57 +02:00
ee6f00610f Moved tests to Ginkgo 2015-09-08 22:07:40 +02:00
0c78105a26 Initial version of rconfig 2015-07-12 12:36:18 +02:00