# gonats **Repository Path**: ichub/gonats ## Basic Information - **Project Name**: gonats - **Description**: https://gitee.com/ichub/go-nats-vvvhttps://gitee.com/ichub/go-nats- - **Primary Language**: Go - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: https://gitee.com/ichub/go-hub-factroy23 - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-11-06 - **Last Updated**: 2025-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-nats ![bizevent.png](document%2Fgonats%2Fbizevent.png) ![nats.png](document%2Fgonats%2Fnats.png) ![natses.png](document%2Fgonats%2Fnatses.png) ![natsmsg.png](document%2Fgonats%2Fnatsmsg.png) https://golang.google.cn/dl/ go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct func main() { tabletool := &dbtool.TableTool{ Author: "leijmdas@163.com", Dbtype_mysql: true, Db: base.MODULE_MAP[base.APP].DBNAME, Table: "employee", ModuleName: base.MODULE_MAP[base.APP], DBUrl: "root:leijmdas@163.comL@tcp(huawei.akunlong.top:13306)/" + base.MODULE_MAP[base.APP].DBNAME + "?charset=utf8&mb4&parseTime=True&loc=Local", } dbinst := tabletool.IniAll() defer dbinst.Close() buildTool := &build.BuildTool{Tool: tabletool} //entity.AutoMigrate(dbcontent.GetDB()) //单表生成 buildTool.BuildTable() } #### Description {**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} #### Software Architecture Software architecture description #### Installation 1. xxxx 2. xxxx 3. xxxx #### Instructions 1. xxxx 2. xxxx 3. xxxx #### Contribution 1. Fork the repository 2. Create Feat_xxx branch 3. Commit your code 4. Create Pull Request ![img.png](img.png) #### Gitee Feature go print-template模板说明 无页眉页脚 1 lucksheet配置生成json、excel 2 genral-proxy解析变量保存xls(去除页眉页脚),实现接口 3 go语言解析xls,调用业务接口,填充数据,保存xlsx数据至db 调用general-pdf-nodejs生成pdf 4 **general-pdf-nodejs** 调用libreoffice xls生成html html转pdf,nodejs生成 5 genral-proxy接口下载pdf 有页眉页脚 6 genral-proxy调用go rpc->pdf页眉页脚本处理接口 go读取pdf生成新pdf, 解析页眉页脚json填充变量 写pdf页眉页页脚,保存数据至template_files 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 账号: faben@ichub.com 密码:Fb1234 测试地址 http://192.168.13.172:8180/%E6%B5%8B%E8%AF%95%E7%8E%AF%E5%A2%83K8S/deploy/index 瓦力账号密码 xuy@ichub.com、Xuy1234 test:账号 18682096931 密码 testpwd123