Getting started with Go language Setting up and getting started

... Go Language environment 官网Download golang Download address: download golang After entering the official website download address, select the appropriate installation package according to your own system. My system is Ubuntu 16.04, so choose the Linux version of golang. After downloading...


Service Computing | Lab Report - Using Go Programming

... 实验目的 Learn how to use Go tools to get, build, and install Go packages and commands using the Go tool. 实验步骤 1.Deploying the go language development environment 2. Write the first program 3. Write a library 4. Write a test 5. Remote package 实验内容 1. Deployment go language development...


Go environment configuration and learning

... go environment configuration and learning This environment configuration recommendations directly in the administrator mode, it will be more convenient. Download and install golang First, confirm that your network is connected, then start downloading sudo yum install golang wait to...


Go language hash operation

... Hash function (hash algorithm, also known as hash function) is a way to create a small digital "fingerprint" from any kind of data. The hash function compresses the message or data into a digest, making the amount of data smaller and fixing the format of the data. This function...


Go language learning route guide

... I don't know if there is a classmate who plans to start learning Golang. I really don't know how to start. At least when I started to learn, this is the feeling. For this, I have inquired a lot of posts and questions and answers. Although there are not many Golang materials on the...


Go language study notes (5): variable scope

... Go language variable type Go language variable types are divided into three types: local variables, global variables, formal parameters 型 definition 描述 Local variable The variable defined in the function scope is only in the function body Global variable Variable defined outside the...


Windows installation msi software prompts 2502, 2503 error

... When installing golang on Win10, error 2503, after Baidu learned that the permission problem used the following first method to solve 一, Temporary installation method 1, press WIN+X, then select "Command Prompt (Admin)"; 2, in the Command Prompt window, type: msiexec /package "Your...


Dinosaur title 001

... golang for range bug, easy to step on the pit #golang for the range is particularly good, but when you take the address in the slice, there will be problems, especially each contact just golang The classmates are one of the classic golang pits. for range: In fact, for range is just a...


What is the StructTag type in the GO language

... StructTag? In Go, StructTag is a tag string that follows the field definition in Struct. StructTag is a combination of a series of key: "value" forms, where key is a non-nullable string, and key-value combinations can be separated by multiple spaces. What is the use of StructTag? !...


Rtmp live related open source project

... studied for a while rtmp, contacted some related open source projects. Summarized as follows red5 java open source. The function provides rtmp. Java writing efficiency memory overhead is relatively large nginx-rtmp c++ ​​open source. Based on the nginx extension, rtmp HTTP-FLV HLS is...