Skip to content

Commit

Permalink
Fix all of the namespace issues
Browse files Browse the repository at this point in the history
I feel like SUCH an idiot right now...
  • Loading branch information
paked committed Aug 2, 2015
1 parent d252125 commit ed20f0b
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion configure.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion configure_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"fmt"
Expand Down
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package configeur is an easy to use multi-layer configuration system.
// 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).
Expand All @@ -22,4 +22,4 @@
//
// If you do create your own Checkers I would be more than happy to add a link to the README in the github repository.
//
package configeur
package configure
2 changes: 1 addition & 1 deletion environment.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion environment_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"os"
Expand Down
10 changes: 5 additions & 5 deletions example/echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package main
import (
"fmt"

"github.com/paked/configeur"
"github.com/paked/configure"
)

var (
// set up a configeur instance with no stack
conf = configeur.New()
conf = configure.New()
// declare flags / things to configure
amount = conf.Int("amount", 0, "how many times you want the string repeated!")
message = conf.String("message", "Echo!", "a selected string")
Expand All @@ -17,9 +17,9 @@ var (

func init() {
// add configuration middlewears to the stack
conf.Use(configeur.NewFlagWithUsage(usage))
conf.Use(configeur.NewJSONFromFile("echo.json"))
conf.Use(configeur.NewEnvironment())
conf.Use(configure.NewFlagWithUsage(usage))
conf.Use(configure.NewJSONFromFile("echo.json"))
conf.Use(configure.NewEnvironment())
}

func main() {
Expand Down
8 changes: 4 additions & 4 deletions example/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ package main
import (
"fmt"

"github.com/paked/configeur"
"github.com/paked/configure"
)

var (
conf = configeur.New()
conf = configure.New()
name = conf.String("name", "Harrison", "The name you want to greet")
)

func init() {
conf.Use(configeur.NewEnvironment())
conf.Use(configeur.NewFlag())
conf.Use(configure.NewEnvironment())
conf.Use(configure.NewFlag())
}

func main() {
Expand Down
2 changes: 1 addition & 1 deletion flag.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion flag_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion json.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package configeur
package configure

import (
"encoding/json"
Expand Down

0 comments on commit ed20f0b

Please sign in to comment.