diff --git a/README.md b/README.md index 2a988db..9946997 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ import ( "image/png" "os" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/qr" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/qr" ) func main() { @@ -48,6 +48,6 @@ func main() { ``` ## Documentation ## -See [GoDoc](https://godoc.org/github.com/boombuler/barcode) +See [GoDoc](https://godoc.org/git.bbr-dev.info/brajkovic/barcode) To create a barcode use the Encode function from one of the subpackages. diff --git a/aztec/azteccode.go b/aztec/azteccode.go index c757ae6..fa93e83 100644 --- a/aztec/azteccode.go +++ b/aztec/azteccode.go @@ -5,8 +5,8 @@ import ( "image" "image/color" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type aztecCode struct { diff --git a/aztec/encoder.go b/aztec/encoder.go index a63650d..8b1142a 100644 --- a/aztec/encoder.go +++ b/aztec/encoder.go @@ -4,8 +4,8 @@ package aztec import ( "fmt" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) const ( diff --git a/aztec/encoder_test.go b/aztec/encoder_test.go index 053e67d..b09896e 100644 --- a/aztec/encoder_test.go +++ b/aztec/encoder_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func Test_StuffBits(t *testing.T) { diff --git a/aztec/errorcorrection.go b/aztec/errorcorrection.go index 6ee0be3..70c6bd9 100644 --- a/aztec/errorcorrection.go +++ b/aztec/errorcorrection.go @@ -1,7 +1,7 @@ package aztec import ( - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func bitsToWords(stuffedBits *utils.BitList, wordSize int, wordCount int) []int { diff --git a/aztec/highlevel.go b/aztec/highlevel.go index fe34c88..4d24939 100644 --- a/aztec/highlevel.go +++ b/aztec/highlevel.go @@ -1,7 +1,7 @@ package aztec import ( - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func highlevelEncode(data []byte) *utils.BitList { diff --git a/aztec/highlevel_test.go b/aztec/highlevel_test.go index 691d157..2238054 100644 --- a/aztec/highlevel_test.go +++ b/aztec/highlevel_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func bitStr(bl *utils.BitList) string { diff --git a/aztec/state.go b/aztec/state.go index 0d3f0a7..6285048 100644 --- a/aztec/state.go +++ b/aztec/state.go @@ -3,7 +3,7 @@ package aztec import ( "fmt" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type encodingMode byte diff --git a/aztec/token.go b/aztec/token.go index aac0f7a..5905727 100644 --- a/aztec/token.go +++ b/aztec/token.go @@ -3,7 +3,7 @@ package aztec import ( "fmt" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type token interface { diff --git a/codabar/encoder.go b/codabar/encoder.go index 74689d0..a6b9306 100644 --- a/codabar/encoder.go +++ b/codabar/encoder.go @@ -5,8 +5,8 @@ import ( "fmt" "regexp" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) var encodingTable = map[rune][]bool{ diff --git a/code128/encode.go b/code128/encode.go index 9a101b6..9c3d99a 100644 --- a/code128/encode.go +++ b/code128/encode.go @@ -6,8 +6,8 @@ import ( "strings" "unicode/utf8" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func strToRunes(str string) []rune { diff --git a/code39/encoder.go b/code39/encoder.go index f474173..3972c50 100644 --- a/code39/encoder.go +++ b/code39/encoder.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type encodeInfo struct { diff --git a/code93/encoder.go b/code93/encoder.go index 27140c3..665a44c 100644 --- a/code93/encoder.go +++ b/code93/encoder.go @@ -5,8 +5,8 @@ import ( "errors" "strings" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type encodeInfo struct { diff --git a/datamatrix/codelayout.go b/datamatrix/codelayout.go index 2158a0a..cb12fe2 100644 --- a/datamatrix/codelayout.go +++ b/datamatrix/codelayout.go @@ -3,8 +3,8 @@ package datamatrix import ( "strconv" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type setValFunc func(byte) diff --git a/datamatrix/datamatrixcode.go b/datamatrix/datamatrixcode.go index 7e7ca26..46bbcc9 100644 --- a/datamatrix/datamatrixcode.go +++ b/datamatrix/datamatrixcode.go @@ -4,8 +4,8 @@ import ( "image" "image/color" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type datamatrixCode struct { diff --git a/datamatrix/encoder.go b/datamatrix/encoder.go index 9501bee..d4865c3 100644 --- a/datamatrix/encoder.go +++ b/datamatrix/encoder.go @@ -4,7 +4,7 @@ package datamatrix import ( "errors" - "github.com/boombuler/barcode" + "git.bbr-dev.info/brajkovic/barcode" ) // Encode returns a Datamatrix barcode for the given content and color scheme diff --git a/datamatrix/errorcorrection.go b/datamatrix/errorcorrection.go index 9617e32..455a3f6 100644 --- a/datamatrix/errorcorrection.go +++ b/datamatrix/errorcorrection.go @@ -1,7 +1,7 @@ package datamatrix import ( - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type errorCorrection struct { diff --git a/ean/encoder.go b/ean/encoder.go index 4a80706..53405bf 100644 --- a/ean/encoder.go +++ b/ean/encoder.go @@ -4,8 +4,8 @@ package ean import ( "errors" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type encodedNumber struct { diff --git a/go.mod b/go.mod index ed53593..2432c29 100644 --- a/go.mod +++ b/go.mod @@ -1 +1 @@ -module github.com/boombuler/barcode +module git.bbr-dev.info/brajkovic/barcode diff --git a/pdf417/encoder.go b/pdf417/encoder.go index 3425ac7..63cc797 100644 --- a/pdf417/encoder.go +++ b/pdf417/encoder.go @@ -4,8 +4,8 @@ package pdf417 import ( "fmt" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) const ( diff --git a/pdf417/highlevel.go b/pdf417/highlevel.go index e41f1bc..1de94b0 100644 --- a/pdf417/highlevel.go +++ b/pdf417/highlevel.go @@ -4,7 +4,7 @@ import ( "errors" "math/big" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type encodingMode byte diff --git a/pdf417/pdfcode.go b/pdf417/pdfcode.go index a594bd2..a42789c 100644 --- a/pdf417/pdfcode.go +++ b/pdf417/pdfcode.go @@ -4,8 +4,8 @@ import ( "image" "image/color" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type pdfBarcode struct { diff --git a/qr/alphanumeric.go b/qr/alphanumeric.go index 4ded7c8..a3039b2 100644 --- a/qr/alphanumeric.go +++ b/qr/alphanumeric.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) const charSet string = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:" diff --git a/qr/automatic.go b/qr/automatic.go index e7c5601..eade123 100644 --- a/qr/automatic.go +++ b/qr/automatic.go @@ -3,7 +3,7 @@ package qr import ( "fmt" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func encodeAuto(content string, ecl ErrorCorrectionLevel) (*utils.BitList, *versionInfo, error) { diff --git a/qr/encoder.go b/qr/encoder.go index 81ceb88..890adc1 100644 --- a/qr/encoder.go +++ b/qr/encoder.go @@ -4,8 +4,8 @@ package qr import ( "image" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type encodeFn func(content string, eccLevel ErrorCorrectionLevel) (*utils.BitList, *versionInfo, error) diff --git a/qr/encoder_test.go b/qr/encoder_test.go index 60cd6d3..f885cd0 100644 --- a/qr/encoder_test.go +++ b/qr/encoder_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/boombuler/barcode" + "git.bbr-dev.info/brajkovic/barcode" ) type test struct { diff --git a/qr/errorcorrection.go b/qr/errorcorrection.go index 08ebf0c..5ce751e 100644 --- a/qr/errorcorrection.go +++ b/qr/errorcorrection.go @@ -1,7 +1,7 @@ package qr import ( - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type errorCorrection struct { diff --git a/qr/numeric.go b/qr/numeric.go index 49b44cc..9c047e0 100644 --- a/qr/numeric.go +++ b/qr/numeric.go @@ -5,7 +5,7 @@ import ( "fmt" "strconv" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func encodeNumeric(content string, ecl ErrorCorrectionLevel) (*utils.BitList, *versionInfo, error) { diff --git a/qr/qrcode.go b/qr/qrcode.go index 2fb44ab..416f422 100644 --- a/qr/qrcode.go +++ b/qr/qrcode.go @@ -5,8 +5,8 @@ import ( "image/color" "math" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) type qrcode struct { diff --git a/qr/unicode.go b/qr/unicode.go index a9135ab..d14d2d9 100644 --- a/qr/unicode.go +++ b/qr/unicode.go @@ -3,7 +3,7 @@ package qr import ( "errors" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode/utils" ) func encodeUnicode(content string, ecl ErrorCorrectionLevel) (*utils.BitList, *versionInfo, error) { diff --git a/twooffive/encoder.go b/twooffive/encoder.go index da40e98..10e4eaf 100644 --- a/twooffive/encoder.go +++ b/twooffive/encoder.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/boombuler/barcode" - "github.com/boombuler/barcode/utils" + "git.bbr-dev.info/brajkovic/barcode" + "git.bbr-dev.info/brajkovic/barcode/utils" ) const patternWidth = 5 diff --git a/utils/base1dcode.go b/utils/base1dcode.go index 1b77e4f..bf398bd 100644 --- a/utils/base1dcode.go +++ b/utils/base1dcode.go @@ -5,7 +5,7 @@ import ( "image" "image/color" - "github.com/boombuler/barcode" + "git.bbr-dev.info/brajkovic/barcode" ) type base1DCode struct {