Package Main;import ("Os/user" "FMT") func main () {//returns the current user's structure u, _: = user. Current (); Fmt. Println (u.name);//user home directory FMT. Println (U.homedir);//user name FMT. Println (u.username);//group IDFMT.PRINTLN
This is a created
article in which the information may have evolved or changed.
Go Language Environment Installation
The Go language supports the following systems:
Linux
Freebsd
Mac OS X (also known as Darwin)
Window
The download address
This is a creation in
Article, where the information may have evolved or changed.
Recently got a new concept, fat Protocols (FAT) protocol. (The FAT protocol can be understood as the underlying chain)
The concept of the FAT protocol comes from FAT
This is a creation in
Article, where the information may have evolved or changed.
Golang in nil is different from other languages, in order to better understand nil, here I will try to reveal the nil in the Golang of some operations and phenomena.
1.
This is a creation in
Article, where the information may have evolved or changed.
Go to implement an HTTP service is very simple
1, features: Do not need to rely on containers, different from Java and PHP
2, the memory of the process can be used and
This is a created
article in which the information may have evolved or changed.
Directory
Go download
Liteide Download
Download Go plugin in IntelliJ
Configuring Go in IntelliJ
New Go Project
If you have classmates with liteide, you
This is a creation in
Article, where the information may have evolved or changed.
History
The ECMAScript standard was built on some of the original technologies, most notably JavaScript and JScript, while in the first version to the second version
This is a created
article in which the information may have evolved or changed.
First go to the official website https://golang.org/dl/Download the installation package, I was installed under Windows. So download the
This is a created
article in which the information may have evolved or changed.
A Redis group Agent with a very simple feature was recently written. The code is here.
In the process of writing, the more interesting is:
RESP Structure of Redis
This is a creation in
Article, where the information may have evolved or changed.
Write in front
Golang Log package content is not much, to tell the truth, directly used to do the journal development is simple. The main feature is missing some
This is a creation in
Article, where the information may have evolved or changed.
I. Characteristics of TCP
TCP provides a connection-oriented, reliable byte-stream serviceIn a TCP connection, only two parties communicate with each other. Broadcast
This is a creation in
Article, where the information may have evolved or changed.
A long time ago, Someone–i normally attribute this to David Symonds, but I can ' t be sure he is the first to say It–said t Hat the reason for adding generics to Go
This is a created
article in which the information may have evolved or changed.
Download IDEhttps://www.jetbrains.com/go/download/#section =windows
Download SDKhttps://golang.org/dl/
IDE Settings Goroot installation directory
The IDE cannot
This is a creation in
Article, where the information may have evolved or changed.
In the Golang language, the data type is not many, but enough, the development project process, slice belongs to one of the most commonly used data structure, the
This is a creation in
Article, where the information may have evolved or changed.
In the group of Xie saw a classmate in the discussion time.After of the problem of leakage, even if the time is not released, an instant stunned, can not help to do
This is a created
article in which the information may have evolved or changed.
I. Beego Development and compilation
Bee run will be compiled into EXE file
After compiling the build, publish the file structure to
CMD run
CD
This is a creation in
Article, where the information may have evolved or changed.
1, about rancher
The last time you set up a rancher environment but the network what is not configured well.The container was not successfully created. This time,
This is a creation in
Article, where the information may have evolved or changed.
1,tomcat
Use the alpine environment to pack and install a tomcat environment yourself.Using the OpenJDK JRE, the goal is to keep the system as small as
This is a creation in
Article, where the information may have evolved or changed.
The text of this text connection is: http://blog.csdn.net/freewebsys/article/details/53638227 not allowed to reprint without the Bo master.Bo main address is:
This is a creation in
Article, where the information may have evolved or changed.
1, local test Docker program
Problem encountered: The Docker program was started using the system's environment variables.It is OK when the server is running, but
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.