Skip to content

Commit 7ce88dc

Browse files
committed
Update all references to the GitHub organization: amzn -> amazon-ion
1 parent 7bfb1db commit 7ce88dc

18 files changed

+29
-29
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "ion-tests"]
22
path = ion-tests
3-
url = https://github.com/amzn/ion-tests.git
3+
url = https://github.com/amazon-ion/ion-tests.git

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Amazon Ion Go
22

3-
[![Build Status](https://github.com/amzn/ion-go/workflows/Go%20Build/badge.svg)](https://github.com/amzn/ion-go/actions?query=workflow%3A%22Go+Build%22)
4-
[![license](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/amzn/ion-go/blob/master/LICENSE)
5-
[![docs](https://img.shields.io/badge/docs-api-green.svg)](https://pkg.go.dev/github.com/amzn/ion-go?tab=doc)
3+
[![Build Status](https://github.com/amazon-ion/ion-go/workflows/Go%20Build/badge.svg)](https://github.com/amazon-ion/ion-go/actions?query=workflow%3A%22Go+Build%22)
4+
[![license](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/amazon-ion/ion-go/blob/master/LICENSE)
5+
[![docs](https://img.shields.io/badge/docs-api-green.svg)](https://pkg.go.dev/github.com/amazon-ion/ion-go?tab=doc)
66

7-
Amazon Ion ( http://amzn.github.io/ion-docs/ ) library for Go
7+
Amazon Ion ( https://amazon-ion.github.io/ion-docs/ ) library for Go
88

9-
[Ion Cookbook](https://amzn.github.io/ion-docs/guides/cookbook.html) demonstrates code samples for some simple Amazon Ion use cases.
9+
[Ion Cookbook](https://amazon-ion.github.io/ion-docs/guides/cookbook.html) demonstrates code samples for some simple Amazon Ion use cases.
1010

1111
This package is based on work from David Murray ([fernomac](https://github.com/fernomac/)) on https://github.com/fernomac/ion-go.
1212
The Ion team greatly appreciates David's contributions to the Ion community.
@@ -32,7 +32,7 @@ The easiest way to clone the `ion-go` repository and initialize its `ion-tests`
3232
submodule is to run the following command.
3333

3434
```
35-
$ git clone --recursive https://github.com/amzn/ion-go.git ion-go
35+
$ git clone --recursive https://github.com/amazon-ion/ion-go.git ion-go
3636
```
3737

3838
Alternatively, the submodule may be initialized independent of the clone
@@ -71,7 +71,7 @@ It is recommended that you hook this in your favorite IDE (`Tools` > `File Watch
7171

7272
## Usage
7373

74-
Import `github.com/amzn/ion-go/ion` and you're off to the races.
74+
Import `github.com/amazon-ion/ion-go/ion` and you're off to the races.
7575

7676
### Marshaling and Unmarshaling
7777

cmd/ion-go/eventwriter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"math/big"
2222
"strings"
2323

24-
"github.com/amzn/ion-go/ion"
24+
"github.com/amazon-ion/ion-go/ion"
2525
)
2626

2727
type eventwriter struct {

cmd/ion-go/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"fmt"
2121
"os"
2222

23-
"github.com/amzn/ion-go/internal"
24-
"github.com/amzn/ion-go/ion"
23+
"github.com/amazon-ion/ion-go/internal"
24+
"github.com/amazon-ion/ion-go/ion"
2525
)
2626

2727
// main is the main entry point for ion-go.

cmd/ion-go/nopwriter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package main
1818
import (
1919
"math/big"
2020

21-
"github.com/amzn/ion-go/ion"
21+
"github.com/amazon-ion/ion-go/ion"
2222
)
2323

2424
type nopwriter struct{}

cmd/ion-go/process.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"io"
2222
"strings"
2323

24-
"github.com/amzn/ion-go/ion"
24+
"github.com/amazon-ion/ion-go/ion"
2525
)
2626

2727
// process reads the specified input file(s) and re-writes the contents in the
@@ -83,7 +83,7 @@ func newProcessor(args []string) (*processor, error) {
8383
}
8484
ret.errf = args[i]
8585

86-
// https://github.com/amzn/ion-go/issues/121
86+
// https://github.com/amazon-ion/ion-go/issues/121
8787

8888
default:
8989
return nil, errors.New("unrecognized option \"" + arg + "\"")

cmd/ion-go/schema.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"fmt"
2020
"strings"
2121

22-
"github.com/amzn/ion-go/ion"
22+
"github.com/amazon-ion/ion-go/ion"
2323
)
2424

2525
type importdescriptor struct {

cmd/ion-go/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"io"
2020
"os"
2121

22-
"github.com/amzn/ion-go/ion"
22+
"github.com/amazon-ion/ion-go/ion"
2323
)
2424

2525
type stdin struct{}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/amzn/ion-go
1+
module github.com/amazon-ion/ion-go
22

33
go 1.13
44

ion/binarywriter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ func (w *binaryWriter) beginValue(api string) error {
559559
buf = appendVarUint(buf, id)
560560
}
561561

562-
// https://github.com/amzn/ion-go/issues/120
562+
// https://github.com/amazon-ion/ion-go/issues/120
563563
w.bufs.push(&container{code: 0xE0})
564564
if err := w.write(buf); err != nil {
565565
return err

ion/decimal.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func (e *ParseError) Error() string {
3434
return fmt.Sprintf("ion: ParseDecimal(%v): %v", e.Num, e.Msg)
3535
}
3636

37-
// https://github.com/amzn/ion-go/issues/119
37+
// https://github.com/amazon-ion/ion-go/issues/119
3838

3939
// Decimal is an arbitrary-precision decimal value.
4040
type Decimal struct {
@@ -198,7 +198,7 @@ func (d *Decimal) ShiftR(shift int) *Decimal {
198198
}
199199
}
200200

201-
// https://github.com/amzn/ion-go/issues/118
201+
// https://github.com/amazon-ion/ion-go/issues/118
202202

203203
// Sign returns -1 if the value is less than 0, 0 if it is equal to zero,
204204
// and +1 if it is greater than zero.

ion/fields.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type fielder struct {
6464
}
6565

6666
// FieldsFor returns the fields of the given struct type.
67-
// https://github.com/amzn/ion-go/issues/117
67+
// https://github.com/amazon-ion/ion-go/issues/117
6868
func fieldsFor(t reflect.Type) []field {
6969
fldr := fielder{index: map[string]bool{}}
7070
fldr.inspect(t, nil)

ion/integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ var malformedIonsSkipList = []string{
111111

112112
var equivsSkipList = []string{
113113
"nonIVMNoOps.ion",
114-
"stringUtf8.ion", // fails on utf-16 surrogate https://github.com/amzn/ion-go/issues/75
114+
"stringUtf8.ion", // fails on utf-16 surrogate https://github.com/amazon-ion/ion-go/issues/75
115115
}
116116

117117
var nonEquivsSkipList []string

ion/marshal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func keysFor(v reflect.Value) []mapkey {
303303
res := make([]mapkey, len(keys))
304304

305305
for i, key := range keys {
306-
// https://github.com/amzn/ion-go/issues/116
306+
// https://github.com/amazon-ion/ion-go/issues/116
307307
if key.Kind() != reflect.String {
308308
panic("unexpected map key type")
309309
}

ion/skipper.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ func (t *tokenizer) skipBlobHelper() error {
602602
return err
603603
}
604604

605-
// https://github.com/amzn/ion-go/issues/115
605+
// https://github.com/amazon-ion/ion-go/issues/115
606606
for c != '}' {
607607
c, _, err = t.skipLobWhitespace()
608608
if err != nil {

ion/unmarshal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ func TestDecode(t *testing.T) {
647647
}
648648

649649
func TestDecodeLotsOfInts(t *testing.T) {
650-
// Regression test for https://github.com/amzn/ion-go/issues/53
650+
// Regression test for https://github.com/amazon-ion/ion-go/issues/53
651651
buf := bytes.Buffer{}
652652
w := NewBinaryWriter(&buf)
653653
for i := 0; i < 512; i++ {

scripts/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export COMMIT=$(git rev-parse --short HEAD 2> /dev/null)
66
export BUILDTIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
77

88
export LDFLAGS="\
9-
-X \"github.com/amzn/ion-go/internal.GitCommit=${COMMIT}\" \
10-
-X \"github.com/amzn/ion-go/internal.BuildTime=${BUILDTIME}\" \
9+
-X \"github.com/amazon-ion/ion-go/internal.GitCommit=${COMMIT}\" \
10+
-X \"github.com/amazon-ion/ion-go/internal.BuildTime=${BUILDTIME}\" \
1111
${LDFLAGS:-}"
1212

1313
go build -o ion-go --ldflags "${LDFLAGS}" ./cmd/ion-go

scripts/install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export COMMIT=$(git rev-parse --short HEAD 2> /dev/null)
66
export BUILDTIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
77

88
export LDFLAGS="\
9-
-X \"github.com/amzn/ion-go/internal.GitCommit=${COMMIT}\" \
10-
-X \"github.com/amzn/ion-go/internal.BuildTime=${BUILDTIME}\" \
9+
-X \"github.com/amazon-ion/ion-go/internal.GitCommit=${COMMIT}\" \
10+
-X \"github.com/amazon-ion/ion-go/internal.BuildTime=${BUILDTIME}\" \
1111
${LDFLAGS:-}"
1212

1313
go install --ldflags "${LDFLAGS}" ./cmd/ion-go

0 commit comments

Comments
 (0)