摘要: func main() { fmt.Println(splitDate("2021-03-09", "2021-04-06", "2006-01-02")) // [2021-03-09 2021-03-10 2021-03-11 2021-03-12 2021-03-13 2021-03-14 2 阅读全文
posted @ 2021-03-09 14:12 Nihility丶 阅读(395) 评论(0) 推荐(0) 编辑
摘要: package main import ( "bytes" "crypto/aes" "crypto/cipher" "crypto/rand" "encoding/base64" "encoding/hex" "io" "log" ) func main() { origData := []byt 阅读全文
posted @ 2021-03-03 11:56 Nihility丶 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: func main() { source := []string{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"} pagesize := 10 pagesizee := 4 fmt.Printf("%+v\n", spli 阅读全文
posted @ 2020-11-02 16:49 Nihility丶 阅读(834) 评论(0) 推荐(0) 编辑
摘要: type StrategyAction1 struct { ID int64 `json:"id"` //编号 Pushtype string `json:"pushtype"` //推送类型 } type StrategyAction2 struct { ID int64 `json:"id"` 阅读全文
posted @ 2020-09-14 18:51 Nihility丶 阅读(400) 评论(0) 推荐(0) 编辑
摘要: launch.json配置详解:配置 配置完之后就可以在图一的第二部那里点击启动了! 阅读全文
posted @ 2020-07-29 17:25 Nihility丶 阅读(213) 评论(0) 推荐(0) 编辑
摘要: eclipse中指定的 setting.xml D:/.m2/repository false ... 阅读全文
posted @ 2018-11-07 11:49 Nihility丶 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 对转义字符的使用,常见错误示例:jdbc.url=jdbc\:mysql\://192.168.0.1\:3306/test?use... 阅读全文
posted @ 2018-09-19 05:29 Nihility丶 阅读(3353) 评论(0) 推荐(0) 编辑
摘要: 摘自wiki: Since Kettle version 5 you need Java 7 (aka 1.7), downlo... 阅读全文
posted @ 2018-09-08 22:15 Nihility丶 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 读写分离实现:360 Atlas(代理层实现,无需修改应用程序代码) 实现步骤 # 安装shell> rpm -i Atlas-2... 阅读全文
posted @ 2018-08-20 13:55 Nihility丶 阅读(57) 评论(0) 推荐(0) 编辑
摘要: // Ctrl+R 打开运行// regedit 打开注册表// 计算机\HKEY_LOCAL_MACHINE\SOFTWARE\M... 阅读全文
posted @ 2018-07-25 13:22 Nihility丶 阅读(31) 评论(0) 推荐(0) 编辑