当前位置:网站首页>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 .
边栏推荐
- 05 Ubuntu installing mysql8
- 2021-03-16 comp9021 class 9 notes
- WCF TCP protocol transmission
- Common date formatter and QT method for obtaining current time
- "Adobe international certification" Photoshop software, about drawing tutorial?
- Qmenu response in pyqt
- [explain the difference between operation and maintenance and network engineering]
- 11-- longest substring without repeated characters
- ZUCC_编译语言原理与编译_实验02 FSharp OCaml语言
- Pat 1157: school anniversary
猜你喜欢

MATLAB Camera Calibrator相机标定

【无标题】

ZUCC_编译语言原理与编译_实验03 编译器入门

2021-03-16 comp9021 class 9 notes

ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language

Maya re deployment

2021-03-09 comp9021 class 7 Notes

Introduction to RCNN, fast RCNN and fast RCNN

Redis cluster data skew

OpenCV to realize the basic transformation of image
随机推荐
2021-03-04 comp9021 class 6 notes
The reason why the qtimer timer does not work
11--无重复字符的最长子串
ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language
2022 mobile crane driver special operation certificate examination question bank and online simulation examination
App Startup
Micro build low code online "quick registration applet" capability
Easydss anonymous live channel data volume instability optimization scheme sharing
ZUCC_ Principles of compiling language and compilation_ Experiment 08 parsing LR parsing
饼状统计图,带有标注线,都可以自行设定其多种参数选项
New technology practice, encapsulating the permission application library step by step with the activity results API
Nodejs redlock notes
DHCP, TFTP Foundation
ZUCC_编译语言原理与编译_实验03 编译器入门
[explain the difference between operation and maintenance and network engineering]
Question bank and simulation examination for operation certificate of refrigeration and air conditioning equipment in 2022
Several ways you can't move zero (sequel)
LabVIEW finds prime numbers in an array of n elements
2021-03-11 comp9021 class 8 notes
Robot acceleration level task priority inverse kinematics