shyandsy
shyandsy
数据表自带prefix,生成model struct和文件名也都带上了prefix,有办法去掉么 比如我所有数据表都有prefix = xxxproject_, 用户表为 xxxproject_customer,生成的model就是 ``` type XxxprojectCustomer struct{ } ``` 对应文件是xxxproject_customer.go 我已经在config.yaml里面制定了table_prefix = “xxxproject_”
why it doesnt give http 404 error message when i access unreachable resources? it gives empty page only
How can i know that server is unreachable? ``` p := fastping.NewPinger() ra, err := net.ResolveIPAddr("ip4:icmp", "111.111.111.1") if err != nil { panic(err) } p.AddIPAddr(ra) p.OnRecv = func(addr *net.IPAddr, rtt...
it doesnt work for the example code to extract table name ``` SELECT Orders.OrderID, Customers.CustomerName, Shippers.ShipperName FROM ( (Orders INNER JOIN Customers ON Orders.CustomerID = Customers.CustomerID) INNER JOIN Shippers ON...
my github action shows upload coverage file success ``` ==> Uploader SHASUM verified (d95f0810d6e05d2eefaa0b9db6f9748c8ed3b1c3f0b513c713dbfc8ab591d236 codecov) ==> Running version latest ==> Running version v0.1.9 /home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov -n -Q github-action-2.1.0 -F ubuntu-latest -F...
I have some server stream handler like the follow code ``` func (n *Handler) Subscribe(t *__.T, stream __.SubscribeServer) error { for { select { case payload, ok :=
I plan to make a new feature to support mapping between pointer and value example: ```go type A struct{ Age int `mapper:"age"` } type B struct{ Age *int `mapper:"age"` }...
I created a tun and I can see the ping request from another machine 10.1.1.1 but the problem is how can I pass the request to protocol stack and let...
``` sudo ip addr add 10.1.0.10/24 dev O_O sudo ip link set dev O_O up ``` this only works for the request goes to 10.1.0.10/24 are there any way to...
设置了prefix=oc_ 有一张表记录migration的没有oc_这个prefix 于是被转换成了nxlog 建议在转换的时候给出提示,是否跳过不生成model,是否数据表错误