Block Chain Introductory Tutorial ETF Source Code Analysis Evet Source Code Analysis
In the second half of 2018, the block chain industry is gradually fading away from the impetuosity and rationality at the beginning of its development. On the surface, it seems that the demand and status of relevant talents are declining. But in fact, it is the gradual decline of the initial bubble that gives people more attention to the real t ...
Posted by zzman on Sat, 26 Jan 2019 10:45:14 -0800
5. Functional Programming
I. Functional Programming
Functional Programming VS Function Pointer
Functions are first-class citizens: parameters, variables, and return values can all be functions
Higher order function
Function - > Closure
Orthodox Functional Programming
Invariability: There can be no states, only constants and functions
A funct ...
Posted by stevenm187 on Thu, 24 Jan 2019 07:45:13 -0800
Handbook of PHP To Go Transition (II)
Preface
As a PHP programmer, I feel honored. But in the constant changes of the times, we must have enough knowledge to survive.
Let's start with Go Linguistics. Somehow, I always feel that PHP and Go have many similarities.
Hope to see this article, you can have a basic understanding of Go. This series of articles describes how I learn the Go ...
Posted by ++Sti++ on Wed, 23 Jan 2019 09:42:13 -0800
How to Use Session in Go lang
The basic principle behind Session is that the server maintains the information of each client, and the client relies on a unique Session ID to access the information.When a user accesses a Web application, the server creates a new Session using the following three steps as needed:
Create a unique Session ID
Open the data storage space: Usuall ...
Posted by Lynny on Sun, 20 Jan 2019 16:51:13 -0800
golang simply implements JWT verification (beego, xorm, jwt)
Program directory structure
Simple implementation, the user logs in and returns a jwt token. The next request takes a token to request the user information interface and return the information.
The app.conf file content (which can be read directly by a beego) is written as a jwt secretkey
jwtkey="12345678"
The user name and password of the ...
Posted by mrchuckles2002 on Sat, 19 Jan 2019 09:36:12 -0800
The first go language gateway in China! GoKu API Gateway CE Quick Use Manual
The complete request address for gateway access is gateway IP: port number/gateway alias/policy group id/interface path
The following section describes how to use GoKu API Gateway CE quickly through configuration files.
I. Creating Gateway
1. Open the global configuration file goku.conf and enter the following information:
...
Posted by madsosterby on Mon, 31 Dec 2018 09:18:10 -0800
leetcode_11. Container With Most Water
leetcode_11. Container With Most Water
First, the question is:
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, such that the container c ...
Posted by zardiw on Fri, 21 Dec 2018 21:06:05 -0800