diff --git a/README.md b/README.md index 61828e6..b34817c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ - [![Test Status](https://github.com/gobuffalo/tags/workflows/Tests/badge.svg)](https://github.com/gobuffalo/tags/actions) - [![Go Report Card](https://goreportcard.com/badge/github.com/gobuffalo/tags)](https://goreportcard.com/report/github.com/gobuffalo/tags) + [![Test Status](https://github.com/gobuffalo/tags/v3/workflows/Tests/badge.svg)](https://github.com/gobuffalo/tags/v3/actions) + [![Go Report Card](https://goreportcard.com/badge/github.com/gobuffalo/tags/v3)](https://goreportcard.com/report/github.com/gobuffalo/tags/v3) # Tags @@ -15,7 +15,7 @@ Tags has a minimum Go dependency of 1.8.1. To get this lib just get it via `go get` ``` -go get -u -v github.com/gobuffalo/tags/... +go get -u -v github.com/gobuffalo/tags/v3/... ``` ## Running the tests @@ -26,7 +26,7 @@ go test ./... ``` ## Documentation -Documentation is currently in [this repository Wiki](https://github.com/gobuffalo/tags/wiki), you can find there instructions on how to use tags within your app. +Documentation is currently in [this repository Wiki](https://github.com/gobuffalo/tags/v3/wiki), you can find there instructions on how to use tags within your app. ## Contributing diff --git a/form/bootstrap/common.go b/form/bootstrap/common.go index d2e946c..d1fc778 100644 --- a/form/bootstrap/common.go +++ b/form/bootstrap/common.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/gobuffalo/flect" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" ) func buildOptions(opts tags.Options, err bool) { diff --git a/form/bootstrap/common_test.go b/form/bootstrap/common_test.go index 6be60b6..c795e0a 100644 --- a/form/bootstrap/common_test.go +++ b/form/bootstrap/common_test.go @@ -3,7 +3,7 @@ package bootstrap import ( "testing" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/stretchr/testify/require" ) diff --git a/form/bootstrap/form.go b/form/bootstrap/form.go index 38ac2d0..d90c8e1 100644 --- a/form/bootstrap/form.go +++ b/form/bootstrap/form.go @@ -1,8 +1,8 @@ package bootstrap import ( - "github.com/gobuffalo/tags" - "github.com/gobuffalo/tags/form" + "github.com/gobuffalo/tags/v3" + "github.com/gobuffalo/tags/v3/form" ) //Form is the bootstrap version of Form diff --git a/form/bootstrap/form_for.go b/form/bootstrap/form_for.go index a65233b..218b66c 100644 --- a/form/bootstrap/form_for.go +++ b/form/bootstrap/form_for.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "github.com/gobuffalo/tags" - "github.com/gobuffalo/tags/form" + "github.com/gobuffalo/tags/v3" + "github.com/gobuffalo/tags/v3/form" "github.com/gobuffalo/validate/validators" ) diff --git a/form/bootstrap/form_for_test.go b/form/bootstrap/form_for_test.go index 0cbf8cf..0817d09 100644 --- a/form/bootstrap/form_for_test.go +++ b/form/bootstrap/form_for_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/gobuffalo/validate" "github.com/stretchr/testify/require" ) diff --git a/form/checkbox_tag.go b/form/checkbox_tag.go index b80255a..f33b3f0 100644 --- a/form/checkbox_tag.go +++ b/form/checkbox_tag.go @@ -4,7 +4,7 @@ import ( "fmt" "html/template" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" ) //CheckboxTag builds a checkbox from the options passed diff --git a/form/checkbox_tag_test.go b/form/checkbox_tag_test.go index 9b63c06..399043e 100644 --- a/form/checkbox_tag_test.go +++ b/form/checkbox_tag_test.go @@ -3,7 +3,7 @@ package form import ( "testing" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/stretchr/testify/require" ) diff --git a/form/file_tag.go b/form/file_tag.go index 6ccfb5a..6e7317b 100644 --- a/form/file_tag.go +++ b/form/file_tag.go @@ -1,6 +1,6 @@ package form -import "github.com/gobuffalo/tags" +import "github.com/gobuffalo/tags/v3" //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 { diff --git a/form/form.go b/form/form.go index 91a615c..d8afedb 100644 --- a/form/form.go +++ b/form/form.go @@ -3,7 +3,7 @@ package form import ( "strings" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" ) //Form is the html form tag, this will hold other tags inside it. diff --git a/form/form_for.go b/form/form_for.go index 1bac915..02f846e 100644 --- a/form/form_for.go +++ b/form/form_for.go @@ -10,7 +10,7 @@ import ( "sync" "github.com/gobuffalo/flect" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/gobuffalo/validate" "github.com/gofrs/uuid" ) diff --git a/form/form_for_test.go b/form/form_for_test.go index e99ad00..910c166 100644 --- a/form/form_for_test.go +++ b/form/form_for_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/stretchr/testify/require" ) diff --git a/form/form_test.go b/form/form_test.go index 1e4e8ec..103530d 100644 --- a/form/form_test.go +++ b/form/form_test.go @@ -3,7 +3,7 @@ package form import ( "testing" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/stretchr/testify/require" ) diff --git a/form/input_tag.go b/form/input_tag.go index 2eeca62..1787f4f 100644 --- a/form/input_tag.go +++ b/form/input_tag.go @@ -1,6 +1,6 @@ package form -import "github.com/gobuffalo/tags" +import "github.com/gobuffalo/tags/v3" //InputTag generates an input tag with passed options, by default will be type=text. func (f Form) InputTag(opts tags.Options) *tags.Tag { diff --git a/form/input_tag_test.go b/form/input_tag_test.go index 04a268a..d1e61b8 100644 --- a/form/input_tag_test.go +++ b/form/input_tag_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/stretchr/testify/require" ) diff --git a/form/radio_button_tag.go b/form/radio_button_tag.go index b6e084b..3fb6c75 100644 --- a/form/radio_button_tag.go +++ b/form/radio_button_tag.go @@ -5,7 +5,7 @@ import ( "html/template" "strings" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" ) //RadioButton creates a radio button for a form with the passed options diff --git a/form/radio_button_tag_test.go b/form/radio_button_tag_test.go index 5c62e3d..bda4c9d 100644 --- a/form/radio_button_tag_test.go +++ b/form/radio_button_tag_test.go @@ -3,7 +3,7 @@ package form import ( "testing" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" "github.com/stretchr/testify/require" ) diff --git a/form/select_tag.go b/form/select_tag.go index 4003eff..f323bf2 100644 --- a/form/select_tag.go +++ b/form/select_tag.go @@ -4,7 +4,7 @@ import ( "html/template" "reflect" - "github.com/gobuffalo/tags" + "github.com/gobuffalo/tags/v3" ) // SelectTag describes a HTML