Go36-44,45-File Operation (os.File)

os package Through the os package, you can have the ability to manipulate the computer operating system. This code package provides platform-independent API s. Whether it is Linux, macOS, Windows, FreeBSD, OpenBSD, Plan9, os packages can provide a unified use interface. In this way, different operating systems can be manipulated in the same wa ...

Posted by Rabioza123 on Fri, 08 Feb 2019 05:51:16 -0800

Go Actual Warfare - Goan implements thumbnail generation server disintegration/imaging, nfnt/resize

Life goes on, go on~~~~ Today, do something about image processing, and learn to share with you. A long time ago, the standard library of pictures provided by golang was introduced. Image, image/color, image/png, image/jpeg package for Go language learning (the way to go) When you search on google or Baidu, you will find many references to ...

Posted by stevieontario on Thu, 07 Feb 2019 15:36:17 -0800

Go Basic Learning Record - Writing Web Application - Blog Editor Perfect Update Function

Every time I put my practice code on github and typed a tag, which is convenient for the students to use later. Here I share my practice with the code of the following branches. https://github.com/durban89/typescript_demo.git tag: 1.1.1 Last article[ Go Basic Learning Record - Writing Web Application - Perfect Blog Editing Function ] We just re ...

Posted by wayz1229 on Fri, 01 Feb 2019 11:15:16 -0800

Brotherly Block Chain Introduction Tutorial Sharing Block Chain POW Proof Code Implementation demo

Here we emphasize the protocol hierarchy of block chains.Application layerContract levelIncentive mechanismConsensus levelNetwork layerData layerIn the last article, we mainly realized the data layer of block chain. The main technology used in the data layer is to check the data and find hash.This paper introduces the workload to prove that POW ...

Posted by elementaluk on Fri, 01 Feb 2019 08:36:16 -0800

Rethinking the Model of Go Basic Learning Record-Writing Web Application-Blog Editing Function

Every time I put my practice code on github and typed a tag, which is convenient for the students to use later. Here I share my practice with the code of the following branches. https://github.com/durban89/typescript_demo.git tag: 1.1.2 Last article[ Go Basic Learning Record - Writing Web Application - Blog Editor Perfect Update Function ] In t ...

Posted by pluto on Thu, 31 Jan 2019 20:15:15 -0800

Brotherhood Block Chain Course: In-depth Analysis of CMD in Taifang Source Code Analysis (I)

Brothers Link Block Chain Course Etaifang Source Code Analysis CMD in-depth analysis. cmd packet analysis There are 13 subpackages under cmd. In addition to util packages, each subpackage has a main function. The init method of each main function defines the commands supported by the main function, such as Under the get package: func init() {   ...

Posted by Tory on Wed, 30 Jan 2019 16:24:14 -0800

gmlock-memory lock module of gf framework

Source of the article: http://gf.johng.cn/os/gmlock/... Memory lock. The module contains two object features: Locker memory lock, which supports generating memory locks according to given key names, and supports Try*Lock and lock expiration characteristics. Mutex encapsulates sync.Mutex at the bottom of the standard library, adding Try*Lock ...

Posted by Spaceman-Spiff on Wed, 30 Jan 2019 13:57:14 -0800

Model Query Reconstruction of Blog Editing Function in Web Development of Go Basic Learning Records

Every time I put my practice code on github and typed a tag, which is convenient for the students to use later. Here I share my practice with the code of the following branches. https://github.com/durban89/typescript_demo.git tag: 1.1.4 In the previous article, [Go Basic Learning Record - Writing Web Application - Model Refactoring of Blog Edit ...

Posted by beebum on Tue, 29 Jan 2019 16:06:16 -0800

Implementation of go web pressure measurement tool

In order to know more clearly about a distributed Web pressure measurement implementation, we gradually implement it from single user - > single user - > multi user - > distributed.(1) What is web stress testing?(2) Several Important Indicators in Pressure Testing(3) Single-machine and single-user pressure measurement with Go language( ...

Posted by ScoTi on Tue, 29 Jan 2019 12:12:15 -0800

core-state-process source code analysis for Ethernet workshop in Brotherhood Block Chain Tutorial (2)

Brotherhood Block Chain Tutorial Etaifang Source Code Analysis core-state-process Source Code Analysis (II):The calculation of g0 is introduced in detail in the Yellow paper.Part of the difference from the yellow paper is if contractCreation & & homestead {igas. SetUint64 (params. TxGasContractCreation) because Gtxcreate+Gtransaction = ...

Posted by t_galan on Sun, 27 Jan 2019 14:03:14 -0800