Tagged

go

A collection of 25 posts

go

Detailed explanation and code of Go-Des and 3Des algorithmsYou can check the warehouse Readme document or Go-package management (management tool comparison and use of go mod) to install

table of Contents Des Development history Design Ideas of Block Cipher Algorithm Des overview Initial replacement and inverse replacement Feistel structure Round function F E extension Key plus S box replacement P permutation Key arrangement 3Des Pros and cons Grouping mode CBC CFB OFB Des' Go implementation Plaintext padding encryption

gin

Gin framework quick start

Reference learning tutorial : Chinese document[Latest Go Web Development Tutorial] Actual web development based on the gin framework and gorm (produced by seven meters) _哔哩哔哩_bilibilitable of Contents1. Basic introduction2. Installation and use3. Gin renderinghtml renderingCustom template functionStatic file processingjson renderingFour. Get parametersGet querystring parametersGet form parametersGet path parametergin parameter

go

You really need such a lock-Redisgo_task distributed lock

Article DirectoryRedisgo_taskIntroduction to Long and Short Distributed ScenariosRedisgo_task implementation principleSetNx(value+expire) atomicitySub-coroutine Done() time pointTicker in the sub-coroutineThe only external dependency of Redisgo_taskRedisgo_task Lock structureRobust design of Redisgo_task architectureRedisgo_task scalabilityRedisgo_task flexibilityRedisgo_task readabilityRedisgo_task performance indicatorsQ&AAttached:Product design ideas for

go

Redisgo_task distributed lock

Article DirectoryRedisgo_taskIntroduction to Long and Short Distributed ScenariosRedisgo_task implementation principleSetNx(value+expire) atomicitySub-coroutine Done() time pointTicker in the sub-coroutineThe only external dependency of Redisgo_taskRedisgo_task Lock structureRobust design of Redisgo_task architectureRedisgo_task scalabilityRedisgo_task flexibilityRedisgo_task readabilityRedisgo_task performance indicatorsQ&AAttached:Product design ideas for

it workplace fun

Write shutdown scripts in 14 programming languages

Article DirectoryBatch versionC language versionC++ language versionJAVA language versionC# language versionPython language versionNodeJS language versionPHP language versionPerl language versionGo language versionVB language versionSQL language versionRaspberry Pi versionEasy language versionLooking forward to the comment areaIt's May Day, and it's time for the programmer to stay at home again. A guy sent

go/gin/docker/redis

Multi-condition query of gorm+ginlaravel (including LIKE fuzzy query, Map, Not, Order), add, modify, and delete MVC examples

- GinLaravel framework: Github (recommended): https://github.com/fyonecon/ginlaravel Gitee (spare): https://gitee.com/fyonecon/ginlaravel - Sample User database data: One more list for multi-condition query: - Kit database definition: var Db *sql.DB = driver.MysqlDb // 连接gomysql扩展var DB *gorm.DB = driver.GDB // 连接gorm扩展controller: package Gen3App import ( "ginlaravel/app/