goweb

module
v1.0.2-dev-10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2024 License: MulanPSL-2.0

README

git commit -a -m "add"

git push origin master

go get -u git.ichub.com/general/ichubengine-client go env -w GOPROXY=https://goproxy.cn,direct

https://zhuanlan.zhihu.com/p/662945653 GOPATH、Go Vendor、Go Modules的来龙去脉,我想这篇文章足够了吧! 规则引擎通用算法服务 Go快速上手-微服务框架go-micro https://zhuanlan.zhihu.com/p/372796932 go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct go env -w GOPRIVATE=git.ichub.com go env -w GOINSECURE=git.ichub.com go env -w GOPRIVATE=go.akunlong.top,gitee.com,git.ichub.com go env -w GOINSECURE=go.akunlong.top,git.ichub.com

go-micro-leijm

https://golang.google.cn/dl/

go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct go env -w GOPRIVATE=go.akunlong.top go env -w GOINSECURE=go.akunlong.top,gitee.com http://gitlab.ichub.com/users/sign_in

go get -u
git config --global url."git@gitee.com:".insteadOf "https://gitee.com/" https://blog.csdn.net/F15217283411/article/details/134758511

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

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
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members 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

git config --global user.name " @163.com" git config --global user.password " " gomod和govendor的简单理解 2022-08-29 15:57 106阅读 0赞

go module是Go语言默认的依赖管理工具,且没有必要在GOPATH中创建项目了。

常用命令:

go mod init 初始化当前文件夹, 创建go.mod文件 go mod download/go get 下载依赖的module到本地cache(默认为$GOPATH/pkg/mod目录) go mod graph 打印模块依赖图 go mod tidy 增加缺少的module,删除无用的module go mod verify 校验依赖 go get package@version 下载指定version的包

在go module中,

module定义包名,indirect表示间接引用 require:依赖包列表以及版本 exclude:禁用依赖包列表 replace:替换依赖包列表

go mod模式下设置proxy代理后,go get或go mod download下载的源码会存在$GOPATH/pkg/mod目录下,go get下载后,go mod可能会莫名其妙的找不到(编译器会首先查找Go的安装目录下的src和pkg,然后才会查找GOPATH的pkg或src),可以手动再添加到gomod中一次解决: go mod init gin go mod edit -require github.com/gin-gonic/gin@latest (添加gin依赖)

govendor的使用 govendor init 初始化生成vendor文件夹,代码必须写在proj/src下,即proj/src/main.go govender add +all 将Path/src下的包拷贝到vendor目录

Directories

Path Synopsis
cmd
bat
code
common
commonpage
dto
domain
db
es
godb
goes
gorpc
internal
docs
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL