github.com/reiver/go-strfs -> sourcecode.social/reiver/go-strfs

master
Charles Iliya Krempeaux 2023-10-23 11:46:25 -07:00
parent 9755254f91
commit a04e838c90
3 changed files with 5 additions and 5 deletions

View File

@ -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
View File

@ -1,4 +1,4 @@
module github.com/reiver/go-strfs
module sourcecode.social/reiver/go-strfs
go 1.18

View File

@ -1,7 +1,7 @@
package strfs_test
import (
"github.com/reiver/go-strfs"
"sourcecode.social/reiver/go-strfs"
"io"
"io/fs"