tutorials: fix blog.v code formatting
parent
00d4c7082e
commit
a39962a6b9
|
@ -415,7 +415,7 @@ pub fn (mut app App) articles() vweb.Result {
|
||||||
If one wants to persist data they need to use a file instead of memory SQLite Database.
|
If one wants to persist data they need to use a file instead of memory SQLite Database.
|
||||||
Replace the db setup code with this instead:
|
Replace the db setup code with this instead:
|
||||||
|
|
||||||
```v oksyntax
|
```
|
||||||
db: sqlite.connect('blog.db') or { panic(err) }
|
db: sqlite.connect('blog.db') or { panic(err) }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue