1. Take the intersection of two filesCat File1 File2 | Sort | uniq-d > File32. Delete the intersection of two filesCat File1 File2 | Sort | Uniq-q > File33. Take a set of two filesCat File1 File2 | Sort | Uniq > File34. Remove duplicate rows from a
1. https://golang.org/dl/2. UnzipUnzip to the/usr/local/go directoryCd/usr/local/goBin/go versionPerform the next configuration environment variable if the Go version information appears as above command.3. Configure Environment
Java uses @interface annotation{} to define an annotation @Annotation, and one annotation is a class.@Override, @Deprecated, @SuppressWarnings 3 common annotations.Annotations are equivalent to a mark, and adding annotations to a program is
Reference Address: http://www.mamicode.com/info-detail-892383.htmlHello everyone, this article with a simple demo demo AngularJS in the use of MVC, before learning this demo , you need to have a basic understanding of AngularJS, and I know a
This is a created
article in which the information may have evolved or changed. Defer statements
The statement indicates that a function is scheduled to be called, and the function called is called a delay function
eg
Defer FMT. Println ("Thye
This is a creation in
Article, where the information may have evolved or changed.
Use Golang to write frames.
Uses third-party PROTOBUF libraries as messages and serialization, about how to install under Windows Reference: Install Golang under
This is a creation in
Article, where the information may have evolved or changed.
The new company uses Golang as the main development language, and the development environment is a Mac, it is a big challenge for me, for the first time in my
This is a creation in
Article, where the information may have evolved or changed.
Using the Redis database in the Go language
Connect to Redis
Storing and retrieving data
Decode into JSON
Finally,
This is a creation in
Article, where the information may have evolved or changed.
Go language operation MySQL premium link: http://www.cnblogs.com/hupengcool/p/4143238.html
Database driver:
Just touching a database is using a database in a command
This is a created
article in which the information may have evolved or changed.
Todo:go language goroutine and channel use
Goroutine is a lightweight threading implementation in the Go language, managed by the Go Language runtime (runtime).
This is a created
article in which the information may have evolved or changed.
Package Mainimport ("FMT") func main () {var chan_test chan interface{} //Double channel var read_test
This is a creation in
Article, where the information may have evolved or changed.
Install Platform Mac
Go language Installation
Download the Go installation package
Download page: https://golang.org/dl/See also
This is a creation in
Article, where the information may have evolved or changed.
Before touching the go language to write some Nodejs app, so for NPM package management method still feel very convenient, but transferred to the go language platform,
This is a creation in
Article, where the information may have evolved or changed.
In any language, dependency management is a more complex issue. The dependency management mechanism in the go language is still a bit disappointing. Before the 1.6
This is a created
article in which the information may have evolved or changed. Interface
The interface in the go language is represented by a collection of methods
A variable of an interface type that can be associated with any
This is a creation in
Article, where the information may have evolved or changed.
Installing Vscode
Installing the Vscode-go Plugin
Enter the Vscode interface, open the command panel Ctrl + Shift + P , enterinstall
Completion Lists (usingGocode)
This is a created
article in which the information may have evolved or changed.
Package Mainimport ("FMT") func Hannuota (n int,a,b,c string) {if n20 {return}if N==1{FMT. Printf ("Tray%d moves from the%s pillar to the%s pillar \ n", N,a,c)}else
This is a creation in
Article, where the information may have evolved or changed.
Install the Go Development pack
Reference http://blog.csdn.net/wdy_yx/article/details/52803773
Installing Sumlime Text3
Download the installation package
sudo dpkg -i *
This is a created
article in which the information may have evolved or changed.
Golang File Download
Func downloadFile (Filefullpath string, res *restful. Response) {file, err: = OS. Open (Filefullpath) if err! = Nil {res. Writeentity (_dto.
Recently contacted Object storage, the international dingding famous Amazon S3 also has the Google Cloud service in the domestic because the firewall and the engine room too far problem, and cannot put into production use. Domestic well-known object
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.