Skip to content

Commit

Permalink
Merge pull request #26 from joeybloggs/v4
Browse files Browse the repository at this point in the history
update for new organization
  • Loading branch information
Dean Karn authored and Dean Karn committed Apr 10, 2015
2 parents 10c0bd9 + a660c00 commit 47a6634
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: go

notificaitons:
email:
recipients: dean.karn@gmail.com
recipients: bluesuncorp01@gmail.com
on_success: change
on_failure: always

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package go-validate-yourself
================
[![Build Status](https://travis-ci.org/joeybloggs/go-validate-yourself.svg?branch=v4)](https://travis-ci.org/joeybloggs/go-validate-yourself)
[![GoDoc](https://godoc.org/gopkg.in/joeybloggs/go-validate-yourself.v4?status.svg)](https://godoc.org/gopkg.in/joeybloggs/go-validate-yourself.v4)
[![Build Status](https://travis-ci.org/bluesuncorp/go-validate-yourself.svg?branch=v4)](https://travis-ci.org/bluesuncorp/go-validate-yourself)
[![GoDoc](https://godoc.org/gopkg.in/bluesuncorp/go-validate-yourself.v4?status.svg)](https://godoc.org/gopkg.in/bluesuncorp/go-validate-yourself.v4)

Package validator implements value validations for structs and individual fields based on tags.

Expand All @@ -10,20 +10,20 @@ Installation

Just use go get.

go get gopkg.in/joeybloggs/go-validate-yourself.v4
go get gopkg.in/bluesuncorp/go-validate-yourself.v4

or to update

go get -u gopkg.in/joeybloggs/go-validate-yourself.v4
go get -u gopkg.in/bluesuncorp/go-validate-yourself.v4

And then just import the package into your own code.

import "gopkg.in/joeybloggs/go-validate-yourself.v4"
import "gopkg.in/bluesuncorp/go-validate-yourself.v4"

Usage
=====

Please see http://godoc.org/gopkg.in/joeybloggs/go-validate-yourself.v4 for detailed usage docs.
Please see http://godoc.org/gopkg.in/bluesuncorp/go-validate-yourself.v4 for detailed usage docs.

Contributing
============
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ intended use is for development + debugging, not a production error message.
Why not a better error message? because this library intends for you to handle your own error messages
Why should I handle my own errors? Many reasons, for me building an internationalized application
Why should I handle my own errors? Many reasons, for us building an internationalized application
I needed to know the field and what validation failed so that I could provide an error in the users specific language.
if fieldErr.Field == "Name" {
Expand Down
2 changes: 1 addition & 1 deletion validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/joeybloggs/go-validate-yourself"
"gopkg.in/bluesuncorp/go-validate-yourself.v4"
. "gopkg.in/check.v1"
)

Expand Down

0 comments on commit 47a6634

Please sign in to comment.