mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tutorials: fix blog.v code formatting
This commit is contained in:
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.
|
||||
Replace the db setup code with this instead:
|
||||
|
||||
```v oksyntax
|
||||
```
|
||||
db: sqlite.connect('blog.db') or { panic(err) }
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user