From d7f941097dd9f1efc10a822a5019d679f2239828 Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 4 Aug 2015 21:01:11 +1000 Subject: [PATCH] Fix naming typos --- configure.go | 2 +- doc.go | 6 +++--- environment.go | 2 +- flag.go | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.go b/configure.go index 6d4ccb7..5cc7097 100644 --- a/configure.go +++ b/configure.go @@ -5,7 +5,7 @@ import ( "os" ) -// Checker is the interface which external checkers must comply to. In the configeur +// Checker is the interface which external checkers must comply to. In the configure // implementation, if one Checker fails the next one in the stack should be called. type Checker interface { // Setup initializes the Checker diff --git a/doc.go b/doc.go index 6ddfdb6..c408d42 100644 --- a/doc.go +++ b/doc.go @@ -1,9 +1,9 @@ // Package configure is an easy to use multi-layer configuration system. // -// Examples can be found in the example folder (http://github.com/paked/configeur/blob/master/examples/) -// as well as a getting started guide in the main README file (http://github.com/paked/configeur). +// Examples can be found in the example folder (http://github.com/paked/configure/blob/master/examples/) +// as well as a getting started guide in the main README file (http://github.com/paked/configure). // -// configeur makes use of Checkers, which are used to retrieve values from their respective data sources. +// configure makes use of Checkers, which are used to retrieve values from their respective data sources. // There are three built in Checkers, Environment, Flag and JSON. Environment retrieves environment variables. // Flag retrieves variables within the flags of a command. JSON retrieves values from a JSON file/blob. Checkers // can be essentially thought of as "middlewear for configuration", in fact parts of the package API was inspired by diff --git a/environment.go b/environment.go index 239992c..10ac782 100644 --- a/environment.go +++ b/environment.go @@ -12,7 +12,7 @@ func NewEnvironment() *Environment { return &Environment{} } -// Environment is a configeur.Checker. It retrieves values from the host OS's environment variables. +// Environment is a Checker. It retrieves values from the host OS's environment variables. // In this process, it will take a flag-like name, and convert it to a environmnet-like name. The process // for this is to change all characters to upper case, and then replace hyphons with underscores. type Environment struct { diff --git a/flag.go b/flag.go index f80c5c2..150fb8e 100644 --- a/flag.go +++ b/flag.go @@ -101,5 +101,5 @@ func (f Flag) String(name string) (string, error) { } func defaultsPrinter() string { - return "This is the default \"defaults\" message from configeur. You should probably change it\n" + return "This is the default \"defaults\" message from configure. You should probably change it\n" }