The translation of the series of articles I have put on the GitHub: blockchain-tutorial, follow-up updates will be on the GitHub, may not be synchronized here. If you want to run the code directly, you can also clone GitHub on the Tutorial warehouse
I have been very busy recently, so busy that I have not much interest in blogging.
After doing more and more, I felt that what I had been amazed by was not worth blogging about.
However, there are many things in the work, the first time in such
"Original" https://www.toutiao.com/i6593863882484220430/Internal working mechanism of HASHMAP and HashSetHow does the HashMap and HashSet work inside? What are hash functions (hashing function)?HashMap is not only a common data structure, but also a
"Original" https://www.toutiao.com/i6566022142666736131/When we use threads to create a thread, it's easy to implement, but there's a problem:If the number of concurrent threads is large, and each thread is executing a short task, then the frequent
Send a library of Golang and lunar calendar that was written before, GitHub Link: https://github.com/nosixtools/solarlunar
Support the 1900-2049-year Gregorian calendar between the conversion and solar calendar and lunar holidays calculation, the
Basic knowledge-Regular expressions in Golang
------------------------------------------------------------Regular Expressions in Golang------------------------------------------------ ------------usage:-----------------------------
Today, after lunch break, the mobile phone ding-dong, open a look, strangers and Friends of the request (from a technology social a). After clicking through, we begin to deal with today's work, and have been busy until 9.1 ticks before we start
The Go module is a dependent package management tool for the go language.
Use of the Go module
1, Go1.11 and later version to use.
2, Go1.11 need to set the environment variable Go111module to ON (new feature switch, according to the Go
1, set the order of Writeheader problem
Before encountering a problem, in a piece of code to set the Writeheader, and finally in the header to take the name of how can not be taken.
w.WriteHeader(201)w.Header().Set("Name", "my name is
Blockchain is a complex and complex discipline that combines cryptography, consensus algorithms, intelligent contracts, and super-ledgers. Yun Jong said that the quality of the teachers in the blockchain training institutions and their perceived
Golang's FMT package implements formatted I/O functions, similar to the C printf and scanf.
# define sample types and variables Humanstruct{name string}=Human{name:" Zhangsan "}
Common placeholderPlaceholder Description Example
1. Installing Docker
2. mkdir Mydocker
3. CD Mydocker && Touch Dockerfile
4. Dockerfile Write
# Use the Golang environment as the parent image
from Golang Maintainer Razil "zc6496359"workdir $GOPATH/src/godockerADD . $GOPATH/src/godocker RUN Go
Interface function: Refers to the implementation of the interface with a function, so that the call is very simple, this function is an interface type function, this method is applicable to only one function of the interface.
Defines a type that
Unsafe Content Introduction
type ArbitraryType inttype Pointer *ArbitraryTypefunc Sizeof(x ArbitraryType) uintptrfunc Offsetof(x ArbitraryType) uintptrfunc Alignof(x ArbitraryType) uintptr
The unsafe package has only two types, three functions, but
The more useful third-party open source Redisclient in Golang are:
Go-redis
Source Address: Https://github.com/go-redis/redis
Document Address: Http://godoc.org/github.com/go-redis/redis
Redigo
Source Address:
The formal syntax specifies what is a valid program in the Go language (or other language) based on the syntax. ' Block = ' {' statementlist '} '. Statementlist = {Statement ";"}. "The above definition is taken from the Go specification. It uses the
This article outlines
The goal of WEB sockets is to provide full-duplex, bidirectional communication on a single persistent connection. After JavaScript creates a Web socket, an HTTP request is sent to the browser to initiate the connection. After
In Ethereum, we provide instructions to abigen our smart contract Go language files, and many tutorials on the web are based on this directive to generate contract go files for operation. Reference:Github A source code implementationUse the go
A few days ago the article has collected some opinions to everybody. Asked everyone more to receive some of the subject matter of the article, most of the students are more inclined to "Life sentiment class" article, and then the second is
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.