Use vendoring

This commit is contained in:
nemunaire 2018-09-18 19:06:04 +02:00
commit d4fd18bff3
20 changed files with 3023 additions and 0 deletions

18
vendor/github.com/nyarla/go-crypt/crypt_test.go generated vendored Normal file
View file

@ -0,0 +1,18 @@
package crypt
import (
"fmt"
"testing"
)
func TestCrypt(t *testing.T) {
if ret := Crypt("testtest", "es"); ret != `esDRYJnY4VaGM` {
t.Fatal(fmt.Sprintf(`result of Crypt is musmatch: %+v`, []byte(ret)))
}
}
func ExampleCrypt() {
fmt.Println(Crypt("testtest", "es"))
// Output:
// esDRYJnY4VaGM
}