From 54a4b2fefbab2878e2411f2d2cd3ea74e6f82734 Mon Sep 17 00:00:00 2001 From: Bardia Keyoumarsi Date: Sat, 29 Aug 2020 05:57:59 -0700 Subject: [PATCH] rebrand --- README.md | 14 +++++++------- config.go | 12 ++++++------ config_test.go | 2 +- go.mod | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index ad50a6b..8489350 100644 --- a/README.md +++ b/README.md @@ -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"` @@ -21,8 +21,8 @@ conf := MyConfig{ Email: "que@bar.com", } -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. diff --git a/config.go b/config.go index 3223210..9b35f31 100644 --- a/config.go +++ b/config.go @@ -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" diff --git a/config_test.go b/config_test.go index c133a14..a72d3d8 100644 --- a/config_test.go +++ b/config_test.go @@ -1,4 +1,4 @@ -package appconfig +package usrconfig import ( "io/ioutil" diff --git a/go.mod b/go.mod index 146f3e6..2320e93 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/qeubar/appconfig +module github.com/qeubar/usrconfig go 1.14