Skip to content

Commit

Permalink
Fix naming typos
Browse files Browse the repository at this point in the history
  • Loading branch information
paked committed Aug 4, 2015
1 parent ed20f0b commit d7f9410
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions doc.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit d7f9410

Please sign in to comment.