Skip to content

Commit

Permalink
rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
bardia-key committed Aug 29, 2020
1 parent 78a2ad3 commit 54a4b2f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# appconfig
# usrconfig

[![GoDoc](https://godoc.org/github.com/qeubar/appconfig?status.svg)](https://godoc.org/github.com/qeubar/appconfig)
[![Build Status](https://travis-ci.com/qeubar/appconfig.svg?branch=master)](https://travis-ci.com/qeubar/appconfig)
[![GoDoc](https://godoc.org/github.com/qeubar/usrconfig?status.svg)](https://godoc.org/github.com/qeubar/usrconfig)
[![Build Status](https://travis-ci.com/qeubar/usrconfig.svg?branch=master)](https://travis-ci.com/qeubar/usrconfig)

appconfig is a very simple platform independent config file management.
usrconfig is a very simple platform independent user config anagement.

## Usage

```go

import "github.com/quebar/appconfig"
import "github.com/quebar/usrconfig"

type MyConfig struct {
Name string `yaml:"user_name"`
Expand All @@ -21,8 +21,8 @@ conf := MyConfig{
Email: "[email protected]",
}

appconfig.Update(conf, "my-app")
usrconfig.Update(conf, "my-app")
```

### Supported platforms
appconfig is built to work on any platform that supports Go.
usrconfig is built to work on any platform that supports Go.
12 changes: 6 additions & 6 deletions config.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// Package appconfig provides a minimal interface to store and update user specific
// Package usrconfig provides a minimal interface to store and update user specific
// application config on the supported platform. It takes away guess work and indecisiveness by
// using the default application config directory based on the running platform.
//
// It's as simple as:
// type MyConfig struct {
// type MyConfig struct {
// Name string `yaml:"user_name"`
// Email string `yaml:"user_email"`
// }
// }
//
// var conf MyConfig
// appconfig.Load(&conf, "my-app")
package appconfig
// var conf MyConfig
// usrconfig.Load(&conf, "my-app")
package usrconfig

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package appconfig
package usrconfig

import (
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/qeubar/appconfig
module github.com/qeubar/usrconfig

go 1.14

Expand Down

0 comments on commit 54a4b2f

Please sign in to comment.