$ go run main.go
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:129019:10: warning: function may return address of local variable [-Wreturn-local-addr]
129019 | return pNew;
| ^~~~
sqlite3-binding.c:128979:10: note: declared here
128979 | Select standin;
| ^~~~~~~
[2022-03-30 12:51:59] [info] registering callback `qor_admin:composite_primary_key` from /home/dmitridb/go/pkg/mod/github.com/qor/admin@v1.2.0/composite_primary_key_callback.go:34
[2022-03-30 12:51:59] [info] registering callback `qor_admin:composite_primary_key` from /home/dmitridb/go/pkg/mod/github.com/qor/admin@v1.2.0/composite_primary_key_callback.go:39
Listening on: 9000
2022/03/30 12:52:22 Finish [GET] /admin Took 3.84ms
Hello;
When attempting to build the example in the documentation with latest version of the go compiler ( go 1.18 ):
Same results tested back to go 1.16
Go 1.15 (Debian 11 from package) works:
What's missing?