Skip to content

Commit

Permalink
push of a forgotten patch for go modules migration
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelle committed Mar 15, 2020
1 parent 9bff298 commit 932ca95
Show file tree
Hide file tree
Showing 20 changed files with 51 additions and 28 deletions.
33 changes: 25 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
language: go


env:
- GO111MODULE=on

go:
- 1.11
- tip
branches:
only:
- master
- 1.14.x
- 1.13.x
- 1.12.x
- 1.11.x
- 1.10.x
- 1.9.x
- 1.8.x
- tip

matrix:
allow_failures:
- go: tip

go_import_path: github.com/nathanaelle/password/v2

install:
- go mod download || go get -u

script:
- env GO111MODULE=on go build
- env GO111MODULE=on go test

- go test github.com/nathanaelle/password/v2
- go test ./... -bench=. -benchmem
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 2-Clause License

Copyright (c) 2015-2018, nathanaelle <[email protected]>
Copyright (c) 2015-2020, nathanaelle <[email protected]>
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ReadMe.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# password

[![License](http://img.shields.io/badge/license-Simplified_BSD-blue.svg?style=flat)](LICENSE.txt) [![Go Doc](http://img.shields.io/badge/godoc-password-blue.svg?style=flat)](http://godoc.org/github.com/nathanaelle/password) [![Build Status](https://travis-ci.org/nathanaelle/password.svg?branch=master)](https://travis-ci.org/nathanaelle/password) [![Go Report Card](https://goreportcard.com/badge/github.com/nathanaelle/password)](https://goreportcard.com/report/github.com/nathanaelle/password)
[![License](http://img.shields.io/badge/license-Simplified_BSD-blue.svg?style=flat)](LICENSE.txt) [![Go Doc](http://img.shields.io/badge/godoc-password-blue.svg?style=flat)](https://pkg.go.dev/github.com/nathanaelle/password) [![Build Status](https://travis-ci.org/nathanaelle/password.svg?branch=master)](https://travis-ci.org/nathanaelle/password) [![Go Report Card](https://goreportcard.com/badge/github.com/nathanaelle/password)](https://goreportcard.com/report/github.com/nathanaelle/password)


## Implemented schemas
Expand Down
2 changes: 1 addition & 1 deletion bcrypt.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"crypto/subtle"
Expand Down
2 changes: 1 addition & 1 deletion bcrypt_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion example_factory_json_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion example_factory_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"flag"
Expand Down
2 changes: 1 addition & 1 deletion factory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"encoding"
Expand Down
2 changes: 1 addition & 1 deletion factory_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"testing"
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/nathanaelle/password/v2

require golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac
go 1.11

require golang.org/x/crypto v0.0.0-20200311171314-f7b00557c8c4
8 changes: 6 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac h1:7d7lG9fHOLdL6jZPtnV4LpI41SbohIJ1Atq7U991dMg=
golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200311171314-f7b00557c8c4/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
2 changes: 1 addition & 1 deletion helpers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"crypto/rand"
Expand Down
2 changes: 1 addition & 1 deletion helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion md5.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"crypto/md5"
Expand Down
2 changes: 1 addition & 1 deletion md5_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password
package password // import "github.com/nathanaelle/password/v2"

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion sha256.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"crypto/sha256"
Expand Down
2 changes: 1 addition & 1 deletion sha256_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion sha512.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"crypto/sha512"
Expand Down
2 changes: 1 addition & 1 deletion sha512_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package password // import "github.com/nathanaelle/password"
package password // import "github.com/nathanaelle/password/v2"

import (
"testing"
Expand Down

0 comments on commit 932ca95

Please sign in to comment.