上一页 1 2 3 4 5 6 ··· 20 下一页

2023年11月22日

脏词过滤

摘要: https://juejin.cn/post/7191848000044400700 阅读全文

posted @ 2023-11-22 20:16 木林coder 阅读(2) 评论(0) 推荐(0) 编辑

2023年11月16日

Golang:基于go反射机制实现通用http参数与结构体的转换

摘要: https://blog.csdn.net/m0_37698164/article/details/127904724 go网络安全 https://www.magedu.com/wenzhang/golang/36201.html https://cloud.tencent.com/develop 阅读全文

posted @ 2023-11-16 20:07 木林coder 阅读(23) 评论(0) 推荐(0) 编辑

git 忽略 linux和windows换行符差异

摘要: https://blog.csdn.net/qq_42224683/article/details/118164041 阅读全文

posted @ 2023-11-16 14:36 木林coder 阅读(138) 评论(0) 推荐(0) 编辑

2023年11月4日

redis + golang

摘要: https://www.cnblogs.com/jiujuan/p/17215125.html 阅读全文

posted @ 2023-11-04 17:43 木林coder 阅读(1) 评论(0) 推荐(0) 编辑

2023年9月20日

mongo + golang 连接复用

摘要: https://www.coder.work/article/6453048 阅读全文

posted @ 2023-09-20 15:19 木林coder 阅读(20) 评论(0) 推荐(0) 编辑

2023年8月29日

TP6 redis psubscribe订阅 实现缓存过期后执行业务逻辑

摘要: https://blog.csdn.net/W915120623/article/details/122492272 阅读全文

posted @ 2023-08-29 09:07 木林coder 阅读(4) 评论(0) 推荐(0) 编辑

2023年7月16日

kafka-mongo.go

摘要: package mongo import ( "context" "fmt" "log" "go.mongodb.org/mongo-driver/bson" "go.mongodb.org/mongo-driver/mongo" "go.mongodb.org/mongo-driver/mongo 阅读全文

posted @ 2023-07-16 22:59 木林coder 阅读(4) 评论(0) 推荐(0) 编辑

kafka-es.go

摘要: package es import ( "context" "encoding/json" "fmt" "kafka/mongo" "log" "os" "github.com/olivere/elastic" ) var client *elastic.Client var host = "htt 阅读全文

posted @ 2023-07-16 22:59 木林coder 阅读(1) 评论(0) 推荐(0) 编辑

2023年7月13日

kafka-main.go

摘要: package main import ( "bufio" "kafka/consumer" "kafka/es" "kafka/producer" "os" "strings" ) var inputReader *bufio.Reader func init() { inputReader = 阅读全文

posted @ 2023-07-13 19:24 木林coder 阅读(2) 评论(0) 推荐(0) 编辑

kafka-producer.go

摘要: package producer import ( "fmt" "github.com/Shopify/sarama" ) type CRead func() string func Run(cRead CRead) { config := sarama.NewConfig() config.Pro 阅读全文

posted @ 2023-07-13 19:23 木林coder 阅读(3) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 20 下一页

导航