Skip to content

Commit

Permalink
Fix links to spec (#6)
Browse files Browse the repository at this point in the history
The old spec site at http://ndjson.org/ is no longer active -- or at least not in a relevant capacity. The spec is now maintained in this Github repository. This quick PR replaces links to the old site with links to the repository.
  • Loading branch information
nickcruess-soda authored Apr 1, 2024
1 parent 5e76790 commit 23b0960
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Build Status](https://github.com/olivere/ndjson/workflows/Test/badge.svg)](https://github.com/olivere/ndjson/actions)

The `ndjson` package implements reading and writing files according
to the [ndjson specification](http://ndjson.org/).
to the [ndjson specification](https://github.com/ndjson/ndjson-spec/).

Example:

Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Package ndjson implements reading and writing files according to
the ndjson specification (http://ndjson.org/).
the ndjson specification (https://github.com/ndjson/ndjson-spec/).
*/
package ndjson
2 changes: 1 addition & 1 deletion reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var (
)

// Reader allows reading line-oriented JSON data following the
// ndjson spec at http://ndjson.org/.
// ndjson spec at https://github.com/ndjson/ndjson-spec/.
type Reader struct {
r io.Reader
s *bufio.Scanner
Expand Down
2 changes: 1 addition & 1 deletion writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var (
)

// Writer implements writing line-oriented JSON data following the
// ndjson spec at http://ndjson.org/.
// ndjson spec at https://github.com/ndjson/ndjson-spec/.
type Writer struct {
w io.Writer
enc *json.Encoder
Expand Down

0 comments on commit 23b0960

Please sign in to comment.