使用http反向代理https Nginx server { listen 30003; server_name localhost; location / { proxy_pass https://httpbin.org/; proxy_set_header X-Forwarded
Go自定义MarshalJSON 遇到一个问题,需要对空结构体序列化,但是空数组序列化结果是null,如果是空结构体可以用omitempty,但是这是数组,序列化就没了 type Server []struct { IP string `json:"IP"` Version strin
SQL统计数量用count(*)还是count(1) Ai Bing 这是一个常见的sql问题,关于count(*)和count(1)的区别和性能。一般来说,count(*)和count(1)的结果是一样的,都是返回表中的行数,不包括null值。但是,count(*)和count(1)的性能可能会有
树莓派换源 开启ssh sudo systemctl enable ssh sudo systemctl start ssh 查看系统架构 uname -a Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+