当前位置:网站首页>Easynvr and easyrtc platforms use go language to manage projects. Summary of the use of govendor and gomod
Easynvr and easyrtc platforms use go language to manage projects. Summary of the use of govendor and gomod
2022-06-24 08:38:00 【Tsingsee green rhino video】
TSINGSEE Qingxi video cloud edge architecture system products , Streaming media platforms all use Go Language development , Because of the problem of legacy code ,EasyNVR、EasyDSS And other platforms need to use govendor Project management of code , and EasyRTC And other new projects adopt gomod Development . The following is our platform development process , A summary of the use of both , Now share with you .
GoVendor The basic use of :
govendor init Initialize project govendor fetch Increased reliance on govendor remove Delete package dependency govendor update Update package dependency govendor list List the package govendor stat Check whether the package has expired ./vendor/vendor.json Dependency package govendor --help
gomod The use of :
go mod download Download dependent module To local cache( The default is $GOPATH/pkg/mod Catalog ) go mod edit edit go.mod file go mod edit -fmt format go mod edit -require=golang.org/x/text Add dependency go mod edit -droprequire=golang.org/x/text Remove dependencies go mod graph Print module dependency graph go mod init Initialize the current folder , establish go.mod file go mod tidy Increase the lack of module, Delete useless module go mod vendor Copy dependency to vendor Next go mod verify Verification dependency go mod why Explain why you need to rely go.mod Dependency package gp.sum Dependency package go get -u /sadas/asfasdfdsa Update dependency
gomod Project management tools recommended by the government , With go1.16 Appearance , It is recommended that all projects adopt gomod Project management . Because some websites are inaccessible , Therefore, adding the following configuration when using can solve this problem : GOPROXY=https://goproxy.cn,direct;GONOSUMDB=gitlab.com,gitee.com;GONOPROXY=gitlab.com,gitee.com
EasyNVR、EasyDSS Are mature and stable video streaming media platforms , You can download the test directly ,EasyRTC The reproduction of is still under development , Its architecture has a new direction , In the near future, the new version will also be online to meet you ,TSINGSEE Green rhino video cloud side architecture, the whole platform is welcome to test and understand .
边栏推荐
- The JS macro of WPS implements the separation method of picture text in the same paragraph
- Five level classification of loans
- "Wechat cloud hosting" first practical battle | introduction to minimalist demo
- 相机投影矩阵计算
- New technology practice, encapsulating the permission application library step by step with the activity results API
- 【关于运维和网工的差别,一文说透】
- Tencent cloud ASR product PHP realizes real-time voice authentication request
- 【力扣10天SQL入门】Day2
- 【无标题】
- After interviewing and tutoring several children, I found some problems!
猜你喜欢
Permission model DAC ACL RBAC ABAC
12--合并两个有序链表
ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析
ZUCC_编译语言原理与编译_实验02 FSharp OCaml语言
Question 4 - datepicker date selector, disabling two date selectors (start and end dates)
Question bank and simulation examination for operation certificate of refrigeration and air conditioning equipment in 2022
jwt(json web token)
李白最经典的20首诗排行榜
5分钟,客服聊天处理技巧,炉火纯青
小黑ai4code代码baseline啃食1
随机推荐
05-ubuntu安装mysql8
问题3 — messageBox弹框,修改默认背景色
Getting started with ffmpeg
Question bank and simulation examination for operation certificate of refrigeration and air conditioning equipment in 2022
相机投影矩阵计算
JUC个人简单笔记
Building a static website with eleventy
[explain the difference between operation and maintenance and network engineering]
jwt(json web token)
js中通过key查找和更新对象中指定值的方法
2021-03-11 comp9021 class 8 notes
Question 3 - MessageBox pop-up box, modify the default background color
pyQt 常用系统的事件
lombok 使用
貸款五級分類
QPS, TPS, concurrent users, throughput relationship
PAT 1157:校庆
MATLAB Camera Calibrator相机标定
小黑ai4code代码baseline啃食1
Tool functions – get all files in the project folder