From e08afb17294a2460aeed159d3714b9916b116706 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 10 Jun 2018 22:10:39 +0200 Subject: Change canonical import path --- README.md | 2 +- librsync/common_test.go | 2 +- librsync/helpers.go | 2 +- librsync/helpers_test.go | 4 ++-- librsync/librsync.go | 2 +- librsync/librsync_callback.go | 2 +- librsync/librsync_test.go | 4 ++-- librsync/nirvana.go | 2 +- librsync/pointers.go | 2 +- librsync/testdata/delta.go | 2 +- librsync/testdata/mutation.go | 2 +- librsync/testdata/random_data.go | 2 +- librsync/testdata/random_data.sig.go | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a354d43..41c11ab 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ A Go language binding for the librsync library for creating binary deltas. ## Install -To install golibrsync, just call `go get github.com/silvasur/golibrsync/librsync`. +To install golibrsync, just call `go get code.laria.me/golibrsync/librsync`. diff --git a/librsync/common_test.go b/librsync/common_test.go index 35d59b1..65828be 100644 --- a/librsync/common_test.go +++ b/librsync/common_test.go @@ -1,4 +1,4 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" import ( "fmt" diff --git a/librsync/helpers.go b/librsync/helpers.go index e560275..3519667 100644 --- a/librsync/helpers.go +++ b/librsync/helpers.go @@ -1,4 +1,4 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" import ( "io" diff --git a/librsync/helpers_test.go b/librsync/helpers_test.go index 8faaf58..4a52b97 100644 --- a/librsync/helpers_test.go +++ b/librsync/helpers_test.go @@ -1,8 +1,8 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" import ( "bytes" - "github.com/silvasur/golibrsync/librsync/testdata" + "code.laria.me/golibrsync/librsync/testdata" "testing" ) diff --git a/librsync/librsync.go b/librsync/librsync.go index 3bebd6f..87ff4da 100644 --- a/librsync/librsync.go +++ b/librsync/librsync.go @@ -1,5 +1,5 @@ // Package librsync allows you to create binary deltas. -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" /* #cgo LDFLAGS: -lrsync diff --git a/librsync/librsync_callback.go b/librsync/librsync_callback.go index 66b16c7..45a874c 100644 --- a/librsync/librsync_callback.go +++ b/librsync/librsync_callback.go @@ -1,4 +1,4 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" /* #include diff --git a/librsync/librsync_test.go b/librsync/librsync_test.go index 0c6ebe1..16f9633 100644 --- a/librsync/librsync_test.go +++ b/librsync/librsync_test.go @@ -1,8 +1,8 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" import ( "bytes" - "github.com/silvasur/golibrsync/librsync/testdata" + "code.laria.me/golibrsync/librsync/testdata" "io" "testing" ) diff --git a/librsync/nirvana.go b/librsync/nirvana.go index a3b098f..b5feb3e 100644 --- a/librsync/nirvana.go +++ b/librsync/nirvana.go @@ -1,4 +1,4 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" // nirvana is a io.Writer that will discard all input (like /dev/null) type nirvana struct{} diff --git a/librsync/pointers.go b/librsync/pointers.go index d14f41f..843d4bf 100644 --- a/librsync/pointers.go +++ b/librsync/pointers.go @@ -1,4 +1,4 @@ -package librsync +package librsync // import "code.laria.me/golibrsync/librsync" import ( "sync" diff --git a/librsync/testdata/delta.go b/librsync/testdata/delta.go index 1da9f3f..1ddec70 100644 --- a/librsync/testdata/delta.go +++ b/librsync/testdata/delta.go @@ -1,4 +1,4 @@ -package testdata +package testdata // import "code.laria.me/golibrsync/librsync/testdata" func Delta() []byte { // Was generated with `rdiff delta random_data.sig mutation delta` diff --git a/librsync/testdata/mutation.go b/librsync/testdata/mutation.go index fa20073..8f699ed 100644 --- a/librsync/testdata/mutation.go +++ b/librsync/testdata/mutation.go @@ -1,4 +1,4 @@ -package testdata +package testdata // import "code.laria.me/golibrsync/librsync/testdata" func Mutation() []byte { return []byte{ diff --git a/librsync/testdata/random_data.go b/librsync/testdata/random_data.go index e2523c5..0d31653 100644 --- a/librsync/testdata/random_data.go +++ b/librsync/testdata/random_data.go @@ -1,4 +1,4 @@ -package testdata +package testdata // import "code.laria.me/golibrsync/librsync/testdata" func RandomData() []byte { return []byte{ diff --git a/librsync/testdata/random_data.sig.go b/librsync/testdata/random_data.sig.go index e5e57a3..75b0c30 100644 --- a/librsync/testdata/random_data.sig.go +++ b/librsync/testdata/random_data.sig.go @@ -1,4 +1,4 @@ -package testdata +package testdata // import "code.laria.me/golibrsync/librsync/testdata" func RandomDataSig() [][]byte { // Was generated with `rdiff signature random_data random_data.sig` -- cgit v1.2.3-70-g09d2