sourcecode.social -> github.com
							parent
							
								
									ac381acfe0
								
							
						
					
					
						commit
						a22d8dfd04
					
				|  | @ -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/sourcecode.social/reiver/go-strfs | ||||
| Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-strfs | ||||
| 
 | ||||
| [](https://godoc.org/sourcecode.social/reiver/go-strfs) | ||||
| [](https://godoc.org/github.com/reiver/go-strfs) | ||||
| 
 | ||||
| ## Example fs.File | ||||
| 
 | ||||
| Here is an example of turning a Go `string` into a `fs.File`: | ||||
| 
 | ||||
| ```go | ||||
| import "sourcecode.social/reiver/go-strfs" | ||||
| import "github.com/reiver/go-strfs" | ||||
| 
 | ||||
| // ... | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| package strfs_test | ||||
| 
 | ||||
| import ( | ||||
| 	"sourcecode.social/reiver/go-strfs" | ||||
| 	"github.com/reiver/go-strfs" | ||||
| 
 | ||||
| 	"io" | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| package strfs | ||||
| 
 | ||||
| import ( | ||||
| 	"sourcecode.social/reiver/go-erorr" | ||||
| 	"github.com/reiver/go-erorr" | ||||
| ) | ||||
| 
 | ||||
| const ( | ||||
|  |  | |||
							
								
								
									
										4
									
								
								go.mod
								
								
								
								
							
							
						
						
									
										4
									
								
								go.mod
								
								
								
								
							|  | @ -1,5 +1,5 @@ | |||
| module sourcecode.social/reiver/go-strfs | ||||
| module github.com/reiver/go-strfs | ||||
| 
 | ||||
| go 1.18 | ||||
| 
 | ||||
| require sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 // indirect | ||||
| require github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f // indirect | ||||
|  |  | |||
							
								
								
									
										4
									
								
								go.sum
								
								
								
								
							
							
						
						
									
										4
									
								
								go.sum
								
								
								
								
							|  | @ -1,2 +1,2 @@ | |||
| sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1 h1:wpnz4JicQBLWrgGphYBls7DysIFCcnWgDz/vce/sY8E= | ||||
| sourcecode.social/reiver/go-erorr v0.0.0-20230922202459-231149d185a1/go.mod h1:NFtd7fzEf0r6A6R7JXYZfayRhPaJy0zt/18VWoLzrxA= | ||||
| github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f h1:D1QSxKHm8U73XhjsW3SFLkT0zT5pKJi+1KGboMhY1Rk= | ||||
| github.com/reiver/go-erorr v0.0.0-20240801233437-8cbde6d1fa3f/go.mod h1:F0HbBf+Ak2ZlE8YkDW4Y+KxaUmT0KaaIJK6CXY3cJxE= | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| package strfs_test | ||||
| 
 | ||||
| import ( | ||||
| 	"sourcecode.social/reiver/go-strfs" | ||||
| 	"github.com/reiver/go-strfs" | ||||
| 
 | ||||
| 	"io" | ||||
| 	"io/fs" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue