摘要:
1)使用in查询, 保持顺序 SELECT * FROM `template_data` where template_id in (7339747298123169843,7339747324194799625,7339747298123153459); 使用Order by field(); 来 阅读全文
摘要:
[选项模式] package main import "fmt" type OptionFunc func(*DoSomethingOption) type DoSomethingOption struct { a int b string c bool } func NewDoSomethingO 阅读全文