github.com/reiver/go-strfs -> sourcecode.social/reiver/go-strfs
parent
9755254f91
commit
a04e838c90
|
@ -4,16 +4,16 @@ Package **strfs** provides a virtual file-system, whre a `fs.File` can be create
|
|||
|
||||
## Documention
|
||||
|
||||
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-strfs
|
||||
Online documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-strfs
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/reiver/go-strfs?status.svg)](https://godoc.org/github.com/reiver/go-strfs)
|
||||
[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-strfs?status.svg)](https://godoc.org/sourcecode.social/reiver/go-strfs)
|
||||
|
||||
## Example fs.File
|
||||
|
||||
Here is an example of turning a Go `string` into a `fs.File`:
|
||||
|
||||
```go
|
||||
import "github.com/reiver/go-strfs"
|
||||
import "sourcecode.social/reiver/go-strfs"
|
||||
|
||||
// ...
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/reiver/go-strfs
|
||||
module sourcecode.social/reiver/go-strfs
|
||||
|
||||
go 1.18
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package strfs_test
|
||||
|
||||
import (
|
||||
"github.com/reiver/go-strfs"
|
||||
"sourcecode.social/reiver/go-strfs"
|
||||
|
||||
"io"
|
||||
"io/fs"
|
||||
|
|
Loading…
Reference in New Issue