# corehub **Repository Path**: mahang111/corehub ## Basic Information - **Project Name**: corehub - **Description**: No description available - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-15 - **Last Updated**: 2024-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 使用 ## grpc1 -- grpc.go ### RegisterGrpc 用于实现注册grpc ## model init-mysql\ ------migrate\ ------------migrate.go\ ### AutoMigrate 用于数据表迁移 ------mysql.go ### WithMysql 用于连接mysql 并使用 ## model init-redis\ ------redis.go ### WithRedis 用于连接redis 并使用 ## nacos ------nacos.go ### Nacos 连接nacos ### NacosToStr 用于将nacos里的数据解析到结构体中 ## config ------config.go ### InitConfig 用于解析yaml文件 需传入yaml文件的路径