From 254aa57d43dee6f0f5862f15c0bdc57afd9d9136 Mon Sep 17 00:00:00 2001 From: joeybloggs Date: Thu, 24 Sep 2015 07:36:46 -0400 Subject: [PATCH] changed repos from bluesuncorp to go-playground --- README.md | 18 +++++++++--------- examples/custom/custom.go | 2 +- examples/simple/simple.go | 2 +- examples_test.go | 2 +- validator_test.go | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d9e66c2..67366c0 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ Package validator ================ -[![Join the chat at https://gitter.im/bluesuncorp/validator](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bluesuncorp/validator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Join the chat at https://gitter.im/go-playground/validator](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/go-playground/validator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://semaphoreci.com/api/v1/projects/ec20115f-ef1b-4c7d-9393-cc76aba74eb4/490000/badge.svg)](https://semaphoreci.com/joeybloggs/validator) -[![Coverage Status](https://coveralls.io/repos/bluesuncorp/validator/badge.svg?branch=v7&service=github)](https://coveralls.io/github/bluesuncorp/validator?branch=v7) -[![GoDoc](https://godoc.org/gopkg.in/bluesuncorp/validator.v7?status.svg)](https://godoc.org/gopkg.in/bluesuncorp/validator.v7) +[![Coverage Status](https://coveralls.io/repos/go-playground/validator/badge.svg?branch=v7&service=github)](https://coveralls.io/github/go-playground/validator?branch=v7) +[![GoDoc](https://godoc.org/gopkg.in/go-playground/validator.v7?status.svg)](https://godoc.org/gopkg.in/go-playground/validator.v7) Package validator implements value validations for structs and individual fields based on tags. @@ -20,20 +20,20 @@ Installation Use go get. - go get gopkg.in/bluesuncorp/validator.v7 + go get gopkg.in/go-playground/validator.v7 or to update - go get -u gopkg.in/bluesuncorp/validator.v7 + go get -u gopkg.in/go-playground/validator.v7 Then import the validator package into your own code. - import "gopkg.in/bluesuncorp/validator.v7" + import "gopkg.in/go-playground/validator.v7" Usage and documentation ------ -Please see http://godoc.org/gopkg.in/bluesuncorp/validator.v7 for detailed usage docs. +Please see http://godoc.org/gopkg.in/go-playground/validator.v7 for detailed usage docs. ##### Examples: @@ -44,7 +44,7 @@ package main import ( "fmt" - "gopkg.in/bluesuncorp/validator.v7" + "gopkg.in/go-playground/validator.v7" ) // User contains user information @@ -143,7 +143,7 @@ import ( "fmt" "reflect" - "gopkg.in/bluesuncorp/validator.v7" + "gopkg.in/go-playground/validator.v7" ) // DbBackedUser User struct diff --git a/examples/custom/custom.go b/examples/custom/custom.go index 51fa4b3..7c67741 100644 --- a/examples/custom/custom.go +++ b/examples/custom/custom.go @@ -6,7 +6,7 @@ import ( "fmt" "reflect" - "gopkg.in/bluesuncorp/validator.v7" + "gopkg.in/go-playground/validator.v7" ) // DbBackedUser User struct diff --git a/examples/simple/simple.go b/examples/simple/simple.go index c071318..9c10406 100644 --- a/examples/simple/simple.go +++ b/examples/simple/simple.go @@ -7,7 +7,7 @@ import ( sql "database/sql/driver" - "gopkg.in/bluesuncorp/validator.v7" + "gopkg.in/go-playground/validator.v7" ) // User contains user information diff --git a/examples_test.go b/examples_test.go index 8605168..06dc28a 100644 --- a/examples_test.go +++ b/examples_test.go @@ -3,7 +3,7 @@ package validator_test import ( "fmt" - "gopkg.in/bluesuncorp/validator.v7" + "gopkg.in/go-playground/validator.v7" ) func ExampleValidate_new() { diff --git a/validator_test.go b/validator_test.go index 36e2724..59256b1 100644 --- a/validator_test.go +++ b/validator_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - . "gopkg.in/bluesuncorp/assert.v1" + . "gopkg.in/go-playground/assert.v1" ) // NOTES: