Skip to content

Commit 01fbaae

Browse files
committed
README: fix sqlarfs example
Fix root of module sqlar
1 parent 38efacc commit 01fbaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $ goeval -i cpuid=github.com/klauspost/cpuid/[email protected] 'fmt.Println(cpuid.CPU.X6
5252

5353
<!--
5454
```console
55-
$ goeval -i net/http -i _=github.com/mattn/go-sqlite3@latest -i github.com/dolmen-go/sqlar/[email protected] 'db,err:=sql.Open("sqlite3","file:"+os.Args[1]+"?mode=ro&immutable=1");if err!=nil{panic(err)};defer db.Close();http.Handle("/",http.FileServerFS(sqlarfs.New(db)));http.ListenAndServe("localhost:8084",nil)' "$(go env GOMODCACHE)"/github.com/dolmen-go/sqlar/sqlarfs@v0.2.1/sqlarfs/testdata/dir.sqlar
55+
$ goeval -i net/http -i _=github.com/mattn/go-sqlite3@latest -i github.com/dolmen-go/sqlar/[email protected] 'db,err:=sql.Open("sqlite3","file:"+os.Args[1]+"?mode=ro&immutable=1");if err!=nil{panic(err)};defer db.Close();http.Handle("/",http.FileServerFS(sqlarfs.New(db)));http.ListenAndServe("localhost:8084",nil)' "$(go env GOMODCACHE)"/github.com/dolmen-go/[email protected]/sqlarfs/testdata/dir.sqlar
5656
```
5757
-->
5858

0 commit comments

Comments
 (0)