当前位置:网站首页>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 .
边栏推荐
- 独立站运营中如何提升客户留存率?客户细分很重要!
- 成为IEEE学生会员
- "Adobe international certification" Photoshop software, about drawing tutorial?
- Pat 1157: school anniversary
- Detailed explanation of etcd backup and recovery principle and actual record of stepping on the pit
- Take my brother to do the project. It's cold
- 软件过程与项目管理期末复习与重点
- Scénarios d'utilisation de la promesse
- [acnoi2022] not a structure, more like a structure
- pyQt 常用系统的事件
猜你喜欢

新技术实战,一步步用Activity Results API封装权限申请库

ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis

jwt(json web token)
![[micro services ~nacos] Nacos service providers and service consumers](/img/b7/47ecd6979ccfeb270261681d6130be.png)
[micro services ~nacos] Nacos service providers and service consumers

ZUCC_编译语言原理与编译_实验01 语言分析与简介

JUC个人简单笔记

2021-03-09 comp9021 class 7 Notes

5分钟,客服聊天处理技巧,炉火纯青

2021-03-04 comp9021 class 6 notes

2021-03-16 comp9021 class 9 notes
随机推荐
Opencv实现图像的基本变换
[graduation season] Hello stranger, this is a pink letter
[xinliu-s6 new model +sa 3-star Xinghai] the new two-way server of the third generation chip was launched and the product was updated~
小黑ai4code代码baseline啃食1
Live broadcast appointment: growth of Mengxin Product Manager
AUTO PWN
Fundamentals of 3D mathematics [17] inverse square theorem
JS scroll div scroll bar to bottom
Final review and key points of software process and project management
到底哪一首才是唐诗第一?
[untitled]
12-- merge two ordered linked lists
[acnoi2022] not a structure, more like a structure
487. number of maximum consecutive 1 II ●●
Rust procedure macro simply imitates Lombok function
将mysql的数据库导出xxx.sql,将xxx.sql文件导入到服务器的mysql中。项目部署。
Pat 1157: school anniversary
2021-03-09 comp9021 class 7 Notes
13 -- remove invalid parentheses
Question bank and simulation examination for operation certificate of refrigeration and air conditioning equipment in 2022