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
|
## 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
|
## Example fs.File
|
||||||
|
|
||||||
Here is an example of turning a Go `string` into a `fs.File`:
|
Here is an example of turning a Go `string` into a `fs.File`:
|
||||||
|
|
||||||
```go
|
```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
|
go 1.18
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package strfs_test
|
package strfs_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/reiver/go-strfs"
|
"sourcecode.social/reiver/go-strfs"
|
||||||
|
|
||||||
"io"
|
"io"
|
||||||
"io/fs"
|
"io/fs"
|
||||||
|
|
Loading…
Reference in New Issue