Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
fixed casing errors in imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Apr 18, 2017
1 parent 8c82316 commit 46e65ef
Show file tree
Hide file tree
Showing 25 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ install-deps:
command: go get -t {{.files}}

variables:
files: '$(go list -v ./... | grep -Ev "github.com/alecaivazis/survey/(tests|examples)")'
files: '$(go list -v ./... | grep -Ev "github.com/AlecAivazis/survey/(tests|examples)")'
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

before_install:
- go get github.com/alecaivazis/run
- go get github.com/AlecAivazis/run

install:
- run install-deps
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Survey
[![Build Status](https://travis-ci.org/AlecAivazis/survey.svg?branch=feature%2Fpretty)](https://travis-ci.org/AlecAivazis/survey)
[![GoDoc](http://img.shields.io/badge/godoc-reference-5272B4.svg)](https://godoc.org/github.com/alecaivazis/survey)
[![GoDoc](http://img.shields.io/badge/godoc-reference-5272B4.svg)](https://godoc.org/github.com/AlecAivazis/survey)


A library for building interactive prompts. Heavily inspired by the great [inquirer.js](https://github.com/SBoudrias/Inquirer.js/).
Expand All @@ -14,7 +14,7 @@ package main

import (
"fmt"
"gopkg.in/alecaivazis/survey.v1"
"gopkg.in/AlecAivazis/survey.v1"
)

// the questions to ask
Expand Down Expand Up @@ -56,7 +56,7 @@ func main() {
Examples can be found in the `examples/` directory. Run them
to see basic behavior:
```bash
go get github.com/alecaivazis/survey
go get github.com/AlecAivazis/survey

# ... navigate to the repo in your GOPATH

Expand Down Expand Up @@ -167,5 +167,5 @@ you build your application. For example, importing v1 of survey would look somet
```golang
package main

import "gopkg.in/alecaivazis/survey.v1"
import "gopkg.in/AlecAivazis/survey.v1"
```
4 changes: 2 additions & 2 deletions confirm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"regexp"

"github.com/alecaivazis/survey/core"
"github.com/alecaivazis/survey/terminal"
"github.com/AlecAivazis/survey/core"
"github.com/AlecAivazis/survey/terminal"
"github.com/chzyer/readline"
)

Expand Down
2 changes: 1 addition & 1 deletion confirm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package survey
import (
"testing"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion core/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func WriteAnswer(t interface{}, name string, v interface{}) (err error) {
return copy(elem, value)
}

// BUG(alecaivazis): the current implementation might cause weird conflicts if there are
// BUG(AlecAivazis): the current implementation might cause weird conflicts if there are
// two fields with same name that only differ by casing.
func findFieldIndex(s reflect.Value, name string) (int, error) {
// the type of the value
Expand Down
2 changes: 1 addition & 1 deletion examples/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/alecaivazis/survey"
"github.com/AlecAivazis/survey"
)

// the questions to ask
Expand Down
2 changes: 1 addition & 1 deletion examples/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/alecaivazis/survey"
"github.com/AlecAivazis/survey"
)

// the questions to ask
Expand Down
4 changes: 2 additions & 2 deletions input.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package survey
import (
"fmt"

"github.com/alecaivazis/survey/core"
"github.com/alecaivazis/survey/terminal"
"github.com/AlecAivazis/survey/core"
"github.com/AlecAivazis/survey/terminal"
"github.com/chzyer/readline"
)

Expand Down
2 changes: 1 addition & 1 deletion input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package survey
import (
"testing"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions multiselect.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"io/ioutil"
"strings"

"github.com/alecaivazis/survey/core"
"github.com/alecaivazis/survey/terminal"
"github.com/AlecAivazis/survey/core"
"github.com/AlecAivazis/survey/terminal"
"github.com/chzyer/readline"
)

Expand Down
2 changes: 1 addition & 1 deletion multiselect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion password.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package survey
import (
"github.com/chzyer/readline"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

// Password is like a normal Input but the text shows up as *'s and
Expand Down
2 changes: 1 addition & 1 deletion password_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package survey
import (
"testing"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions select.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"io/ioutil"
"strings"

"github.com/alecaivazis/survey/core"
"github.com/alecaivazis/survey/terminal"
"github.com/AlecAivazis/survey/core"
"github.com/AlecAivazis/survey/terminal"
"github.com/chzyer/readline"
)

Expand Down
2 changes: 1 addition & 1 deletion select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package survey
import (
"testing"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

func init() {
Expand Down
4 changes: 2 additions & 2 deletions survey.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"errors"
"fmt"

"github.com/alecaivazis/survey/core"
"github.com/alecaivazis/survey/terminal"
"github.com/AlecAivazis/survey/core"
"github.com/AlecAivazis/survey/terminal"
"github.com/chzyer/readline"
)

Expand Down
2 changes: 1 addition & 1 deletion survey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/alecaivazis/survey/core"
"github.com/AlecAivazis/survey/core"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ask.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/alecaivazis/survey"
"github.com/AlecAivazis/survey"
)

// the questions to ask
Expand Down
4 changes: 2 additions & 2 deletions tests/confirm.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/alecaivazis/survey"
"github.com/alecaivazis/survey/tests/util"
"github.com/AlecAivazis/survey"
"github.com/AlecAivazis/survey/tests/util"
)

var answer = false
Expand Down
4 changes: 2 additions & 2 deletions tests/input.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/alecaivazis/survey"
"github.com/alecaivazis/survey/tests/util"
"github.com/AlecAivazis/survey"
"github.com/AlecAivazis/survey/tests/util"
)

var val = ""
Expand Down
4 changes: 2 additions & 2 deletions tests/multiselect.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/alecaivazis/survey"
"github.com/alecaivazis/survey/tests/util"
"github.com/AlecAivazis/survey"
"github.com/AlecAivazis/survey/tests/util"
)

var answer = []string{}
Expand Down
4 changes: 2 additions & 2 deletions tests/password.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/alecaivazis/survey"
"github.com/alecaivazis/survey/tests/util"
"github.com/AlecAivazis/survey"
"github.com/AlecAivazis/survey/tests/util"
)

var value = ""
Expand Down
4 changes: 2 additions & 2 deletions tests/select.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
"github.com/alecaivazis/survey"
"github.com/alecaivazis/survey/tests/util"
"github.com/AlecAivazis/survey"
"github.com/AlecAivazis/survey/tests/util"
)

var answer = ""
Expand Down
2 changes: 1 addition & 1 deletion tests/util/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"reflect"

"github.com/alecaivazis/survey"
"github.com/AlecAivazis/survey"
)

type TestTableEntry struct {
Expand Down

0 comments on commit 46e65ef

Please sign in to comment.