当前位置:网站首页>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 .
边栏推荐
- ZUCC_编译语言原理与编译_大作业
- 分布式 | 如何与 DBLE 进行“秘密通话”
- (PKCS1) RSA 公私钥 pem 文件解析
- Common misconceptions in Tencent conference API - signature error_ code 200003
- 貸款五級分類
- 日本大阪大学万伟伟研究员介绍基于WRS系统机器人的快速集成方法和应用
- Maya re deployment
- Cloudbase database migration scheme
- Centos7安装jdk8以及mysql5.7以及Navicat连接虚拟机mysql的出错以及解决方法(附mysql下载出错解决办法)
- Understanding of the concept of "quality"
猜你喜欢

The article takes you to understand the security of Windows operating system and protect your computer from infringement

【关于运维和网工的差别,一文说透】

Centos7安装jdk8以及mysql5.7以及Navicat连接虚拟机mysql的出错以及解决方法(附mysql下载出错解决办法)

ZUCC_编译语言原理与编译_实验05 正则表达式、有限自动机、词法分析

Maya re deployment

2021-03-16 comp9021 class 9 notes
![[explain the difference between operation and maintenance and network engineering]](/img/2b/945f468588e729336e2e973e777623.jpg)
[explain the difference between operation and maintenance and network engineering]

ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析

Small sample fault diagnosis - attention mechanism code - Implementation of bigru code parsing

uniapp 热更新后台管理
随机推荐
Five level classification of loans
QPS, TPS, concurrent users, throughput relationship
2021-06-24: find the length of the longest non repeating character substring in a string.
11-- longest substring without repeated characters
Pyqt common system events
Markdown 实现文内链接跳转
Robot acceleration level task priority inverse kinematics
05-ubuntu安装mysql8
Opencv实现图像的基本变换
[graduation season] Hello stranger, this is a pink letter
Tool functions – get all files in the project folder
李白最经典的20首诗排行榜
Several ways you can't move zero (sequel)
数据库,查询本月借出书的数量,如果高于10本时,显示“本月借出书大于10本”,否则显示“本月借出书小于10本”
将mysql的数据库导出xxx.sql,将xxx.sql文件导入到服务器的mysql中。项目部署。
Take my brother to do the project. It's cold
5分钟,客服聊天处理技巧,炉火纯青
ZUCC_编译语言原理与编译_实验01 语言分析与简介
Understanding of the concept of "quality"
[real estate opening online house selection, WiFi coverage temporary network] 500 people are connected to WiFi at the same time