Skip to content

Commit

Permalink
removing missing references to tags/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
paganotoni committed Feb 5, 2020
1 parent e2ee338 commit 8162f21
Show file tree
Hide file tree
Showing 24 changed files with 30 additions and 25 deletions.
2 changes: 1 addition & 1 deletion form/bootstrap/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/gobuffalo/flect"
"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
)

func buildOptions(opts tags.Options, err bool) {
Expand Down
2 changes: 1 addition & 1 deletion form/bootstrap/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package bootstrap
import (
"testing"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions form/bootstrap/form.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package bootstrap

import (
"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags/v3/form"
"github.com/gobuffalo/tags"
"github.com/gobuffalo/tags/form"
)

//Form is the bootstrap version of Form
Expand Down
4 changes: 2 additions & 2 deletions form/bootstrap/form_for.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags/v3/form"
"github.com/gobuffalo/tags"
"github.com/gobuffalo/tags/form"
"github.com/gobuffalo/validate/validators"
)

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

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/gobuffalo/validate"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion form/checkbox_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"html/template"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
)

//CheckboxTag builds a checkbox from the options passed
Expand Down
2 changes: 1 addition & 1 deletion form/checkbox_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package form
import (
"testing"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion form/file_tag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package form

import "github.com/gobuffalo/tags/v3"
import "github.com/gobuffalo/tags"

//FileTag builds an input[type=file] from the options passed, it also sets the form enctype to be "multipart/form-data"
func (f Form) FileTag(opts tags.Options) *tags.Tag {
Expand Down
2 changes: 1 addition & 1 deletion form/form.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package form
import (
"strings"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
)

//Form is the html form tag, this will hold other tags inside it.
Expand Down
2 changes: 1 addition & 1 deletion form/form_for.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sync"

"github.com/gobuffalo/flect"
"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/gobuffalo/validate"
"github.com/gofrs/uuid"
)
Expand Down
2 changes: 1 addition & 1 deletion form/form_for_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

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

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion form/input_tag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package form

import "github.com/gobuffalo/tags/v3"
import "github.com/gobuffalo/tags"

//InputTag generates an input tag with passed options, by default will be type=text.
func (f Form) InputTag(opts tags.Options) *tags.Tag {
Expand Down
2 changes: 1 addition & 1 deletion form/input_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion form/radio_button_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"html/template"
"strings"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
)

//RadioButton creates a radio button for a form with the passed options
Expand Down
2 changes: 1 addition & 1 deletion form/radio_button_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package form
import (
"testing"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion form/select_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"html/template"
"reflect"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
)

// SelectTag describes a HTML <select> tag meta data.
Expand Down
2 changes: 1 addition & 1 deletion form/select_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/gofrs/uuid"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion form/submit_tag.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package form

import "github.com/gobuffalo/tags/v3"
import "github.com/gobuffalo/tags"

//SubmitTag generates an input tag with type "submit"
func (f Form) SubmitTag(value string, opts tags.Options) *tags.Tag {
Expand Down
2 changes: 1 addition & 1 deletion form/submit_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package form
import (
"testing"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion form/text_area_tag.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package form

import (
"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
)

//TextArea creates a textarea for a form with passed options
Expand Down
2 changes: 1 addition & 1 deletion form/text_area_tag_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"database/sql/driver"
"testing"

"github.com/gobuffalo/tags/v3"
"github.com/gobuffalo/tags"
"github.com/stretchr/testify/require"
)

Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module github.com/gobuffalo/tags/v3
module github.com/gobuffalo/tags

go 1.13

require (
github.com/fatih/structs v1.1.0
github.com/gobuffalo/flect v0.2.0
github.com/gobuffalo/tags/v3 v3.0.2 // indirect
github.com/gobuffalo/validate v2.0.4+incompatible
github.com/gofrs/uuid v3.2.0+incompatible
github.com/onsi/ginkgo v1.12.0 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/gobuffalo/flect v0.2.0 h1:EWCvMGGxOjsgwlWaP+f4+Hh6yrrte7JeFL2S6b+0hdM=
github.com/gobuffalo/flect v0.2.0/go.mod h1:W3K3X9ksuZfir8f/LrfVtWmCDQFfayuylOJ7sz/Fj80=
github.com/gobuffalo/tags/v3 v3.0.2 h1:gxE6c6fA5radwQeg59aPIeYgCG8YA8AZd3Oh6fh5UXA=
github.com/gobuffalo/tags/v3 v3.0.2/go.mod h1:ZQeN6TCTiwAFnS0dNcbDtSgZDwNKSpqajvVtt6mlYpA=
github.com/gobuffalo/validate v2.0.4+incompatible h1:ZTxozrIw8qQ5nfhShmc4izjYPTsPhfdXTdhXOd5OS9o=
github.com/gobuffalo/validate v2.0.4+incompatible/go.mod h1:N+EtDe0J8252BgfzQUChBgfd6L93m9weay53EWFVsMM=
github.com/gobuffalo/validate/v3 v3.0.0 h1:dF7Bg8NMF9Zv8bZvUMXYJXxZdj+eSZ8z/lGM7/jVFUE=
github.com/gobuffalo/validate/v3 v3.0.0/go.mod h1:HFpjq+AIiA2RHoQnQVTFKF/ZpUPXwyw82LgyDPxQ9r0=
github.com/gofrs/uuid v3.2.0+incompatible h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE=
github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
Expand Down

0 comments on commit 8162f21

Please sign in to comment.