摘要:
Problem: sqlc can't recognize PostgreSQL data types numeric and decimal with the default database driver package database/sql, it makes them string. U
阅读全文
posted @ 2023-11-29 08:40
ZhangZhihuiAAA
阅读(111)
推荐(0)
摘要:
go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest zzh@ZZHPC:~$ sqlc version v1.24.0 zzh@ZZHPC:/zdata/Github/zimplebank$ sqlc init sqlc.yaml is added
阅读全文
posted @ 2023-11-28 18:57
ZhangZhihuiAAA
阅读(20)
推荐(0)
posted @ 2023-11-28 18:31
ZhangZhihuiAAA
阅读(14)
推荐(0)
摘要:
zzh@ZZHPC:~$ sudo apt install postgresql-client zzh@ZZHPC:~$ psql --version psql (PostgreSQL) 14.9 (Ubuntu 14.9-0ubuntu0.22.04.1) zzh@ZZHPC:~$ psql po
阅读全文
posted @ 2023-11-27 20:33
ZhangZhihuiAAA
阅读(55)
推荐(0)
摘要:
Got below error: Makefile:2: *** missing separator. Stop. Check the Makefile using cat -e -t -v: zzh@ZZHPC:/zdata/Github/zimplebank$ cat -vE -t Makefi
阅读全文
posted @ 2023-11-27 19:25
ZhangZhihuiAAA
阅读(31)
推荐(0)
摘要:
Global replacement really uses two ex commands: :g (global) and :s (substitute). Since the syntax of global replacement commands can get fairly comple
阅读全文
posted @ 2023-11-27 16:26
ZhangZhihuiAAA
阅读(47)
推荐(0)
摘要:
zzh@ZZHPC:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy zzh@ZZ
阅读全文
posted @ 2023-11-27 11:13
ZhangZhihuiAAA
阅读(92)
推荐(0)
摘要:
The keyboard shortcut "Ctrl+Shift+L" used to work well to get into column editing mode, but it isn't working now. Checking the shortcut: Deleting the
阅读全文
posted @ 2023-11-25 20:27
ZhangZhihuiAAA
阅读(103)
推荐(0)
posted @ 2023-11-23 22:45
ZhangZhihuiAAA
阅读(25)
推荐(0)
摘要:
zzh@ZZHPC:~$ openssl rand -hex 64 273fabd76b8dd62621325e4b04af332dd739702ae553ffc034a4af205faedbfee21202d3808e3640770b682c151aaa8308871533572d60947724
阅读全文
posted @ 2023-11-22 14:07
ZhangZhihuiAAA
阅读(82)
推荐(0)