github.com/reiver/go-buffers -> sourcecode.social/reiver/go-buffers
parent
a380cfb0e2
commit
1f2fc46a71
|
@ -4,13 +4,13 @@ Package **buffers** provides tools for working with byte array, and byte slice b
|
|||
|
||||
## Documention
|
||||
|
||||
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-buffers
|
||||
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-buffers
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/reiver/go-buffers?status.svg)](https://godoc.org/github.com/reiver/go-buffers)
|
||||
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-buffers?status.svg)](https://godoc.org/sourcecode.social/reiver/go-buffers)
|
||||
|
||||
## Example
|
||||
```go
|
||||
import "github.com/reiver/go-buffers"
|
||||
import "sourcecode.social/reiver/go-buffers"
|
||||
|
||||
// ...
|
||||
|
||||
|
|
2
doc.go
2
doc.go
|
@ -5,7 +5,7 @@ Example
|
|||
|
||||
Here is an example of buffers.Writer being used to provide a io.Writer interface to an byte array, and byte slice:
|
||||
|
||||
import "github.com/reiver/go-buffers"
|
||||
import "sourcecode.social/reiver/go-buffers"
|
||||
|
||||
// ...
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package buffers_test
|
||||
|
||||
import (
|
||||
"github.com/reiver/go-buffers"
|
||||
"sourcecode.social/reiver/go-buffers"
|
||||
|
||||
"fmt"
|
||||
)
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/reiver/go-buffers
|
||||
module sourcecode.social/reiver/go-buffers
|
||||
|
||||
go 1.18
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package buffers_test
|
||||
|
||||
import (
|
||||
"github.com/reiver/go-buffers"
|
||||
"sourcecode.social/reiver/go-buffers"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package buffers_test
|
||||
|
||||
import (
|
||||
"github.com/reiver/go-buffers"
|
||||
"sourcecode.social/reiver/go-buffers"
|
||||
|
||||
"reflect"
|
||||
|
||||
|
|
Loading…
Reference in New Issue