From ac0b638b6a0b01954ab8fe7af2ea9bb26eb29587 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 7 Jun 2021 18:25:20 +0300 Subject: [PATCH] examples: run vfmt over psql/customer.v --- examples/database/psql/customer.v | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/examples/database/psql/customer.v b/examples/database/psql/customer.v index 10dbe57834..4538a94728 100644 --- a/examples/database/psql/customer.v +++ b/examples/database/psql/customer.v @@ -5,14 +5,15 @@ import pg const dash = '----------------------------------------------------------------' struct Customer { - id int - name string + id int + name string nr_orders int - country string + country string } fn main() { - /*db := pg.connect(pg.Config{ + /* + db := pg.connect(pg.Config{ host: 'localhost' //'127.0.0.1' user: 'postgres' dbname: 'customerdb' @@ -60,5 +61,3 @@ fn main() { } db.insert(nc)*/ } - -