# mail-search **Repository Path**: phper95/mail-search ## Basic Information - **Project Name**: mail-search - **Description**: `mail-search` 是Golang+Elasticsearch8构建海量数据高性能搜索服务最佳实践** 课程相关代码,为mail-server服务提供搜索接口,主服务mail-server代码地址为: https://gitee.com/phper95/mail-server - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 4 - **Created**: 2022-09-01 - **Last Updated**: 2024-05-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 介绍 `mail-search` 是 **Golang+Elasticsearch8构建海量数据高性能搜索服务最佳实践** 课程相关代码 课程地址请看 [Golang+Elasticsearch8构建海量数据高性能搜索服务最佳实践](https://coding.imooc.com/class/579.html?mc_marking=bb86c9071ed9b7cf12612a2a85203372&mc_channel=hk) 实现了邮件的搜索功能 #### 使用说明 结合课程先自己实现一遍再看源码 集成组件: - 支持 [Prometheus](https://github.com/prometheus/client_golang) 指标记录 - 支持 errno 统一定义错误码 - 支持 [zap](https://go.uber.org/zap) 日志收集 - 支持 [viper](https://github.com/spf13/viper) 配置文件解析 - 支持 [gorm](https://gorm.io/gorm) 数据库组件 - 支持 [go-redis](https://github.com/go-redis/redis/v7) 组件 - 支持 RESTful API 返回值规范 - 支持 生成数据表 CURD、控制器方法 等代码生成器