Skip to content

Commit

Permalink
* changed license, doc enhacements, deps pkgs upgr
Browse files Browse the repository at this point in the history
  • Loading branch information
bogcon committed Sep 16, 2022
1 parent 9990d55 commit c229ec2
Show file tree
Hide file tree
Showing 57 changed files with 621 additions and 132 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
timeout-minutes: 10
runs-on: ubuntu-latest

container: golang:1.19.0-bullseye
container: golang:1.19.1-bullseye

steps:
- name: Checkout code
Expand Down
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This is the official list of actforgood/xconf authors for copyright purposes.

Bogdan Constantinescu (https://github.com/bogcon)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Bogdan Constantinescu
Copyright (c) 2022 The ActForGood Authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Configurations can be extracted from a file / env / remote system.
Supported formats are json, yaml, ini, (java) properties, plain.


### Installation

```shell
$ go get -u github.com/actforgood/xdi
```


### Configuration loaders
You can create your own configuration retriever implementing `Loader` interface.
Package provides these Loaders for you:
Expand Down
4 changes: 2 additions & 2 deletions assert_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf_test

Expand Down
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf

Expand Down
4 changes: 2 additions & 2 deletions config_mock.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf

Expand Down
4 changes: 2 additions & 2 deletions config_mock_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf_test

Expand Down
4 changes: 2 additions & 2 deletions config_nop.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf

Expand Down
4 changes: 2 additions & 2 deletions config_nop_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf_test

Expand Down
4 changes: 2 additions & 2 deletions config_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf_test

Expand Down
4 changes: 2 additions & 2 deletions deepcopy.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf

Expand Down
4 changes: 2 additions & 2 deletions deepcopy_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

package xconf_test

Expand Down
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Bogdan Constantinescu.
// Copyright The ActForGood Authors.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://github.com/actforgood/xconf/LICENSE.
// https://github.com/actforgood/xconf/blob/main/LICENSE.

// Package xconf provides a configuration registry for an application.
// Configurations can be extracted from a file / env / remote system.
Expand Down
13 changes: 6 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ module github.com/actforgood/xconf
go 1.16

require (
github.com/actforgood/xerr v1.0.0
github.com/actforgood/xlog v1.1.0
github.com/actforgood/xerr v1.1.0
github.com/actforgood/xlog v1.2.0
github.com/joho/godotenv v1.4.0
github.com/magiconair/properties v1.8.6
github.com/spf13/cast v1.5.0
go.etcd.io/etcd/api/v3 v3.5.4
go.etcd.io/etcd/client/v3 v3.5.4
go.etcd.io/etcd/api/v3 v3.5.5
go.etcd.io/etcd/client/v3 v3.5.5
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0 // indirect
golang.org/x/net v0.0.0-20220805013720-a33c5aa5df48 // indirect
google.golang.org/genproto v0.0.0-20220804142021-4e6b2dfa6612 // indirect
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
google.golang.org/genproto v0.0.0-20220916134934-764224ccc2d1 // indirect
google.golang.org/grpc v1.49.0
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/ini.v1 v1.67.0
gopkg.in/yaml.v3 v3.0.1
)
Loading

0 comments on commit c229ec2

Please sign in to comment.