aboutsummaryrefslogtreecommitdiff
path: root/librsync
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2018-06-10 22:10:39 +0200
committerLaria Carolin Chabowski <laria@laria.me>2018-06-10 22:10:39 +0200
commite08afb17294a2460aeed159d3714b9916b116706 (patch)
treeb539617e7ef0b21414bb247ea86d34c4416f096a /librsync
parentc00c43c28b3f2e269931aa7a9e6f7e622ac838da (diff)
downloadgolibrsync-master.tar.gz
golibrsync-master.tar.bz2
golibrsync-master.zip
Change canonical import pathHEADmaster
Diffstat (limited to 'librsync')
-rw-r--r--librsync/common_test.go2
-rw-r--r--librsync/helpers.go2
-rw-r--r--librsync/helpers_test.go4
-rw-r--r--librsync/librsync.go2
-rw-r--r--librsync/librsync_callback.go2
-rw-r--r--librsync/librsync_test.go4
-rw-r--r--librsync/nirvana.go2
-rw-r--r--librsync/pointers.go2
-rw-r--r--librsync/testdata/delta.go2
-rw-r--r--librsync/testdata/mutation.go2
-rw-r--r--librsync/testdata/random_data.go2
-rw-r--r--librsync/testdata/random_data.sig.go2
12 files changed, 14 insertions, 14 deletions
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 <stdio.h>
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`