Go deep

Recent Posts

May 18, 2021

Rust Merge Strings Alternately

This posts comes from the real project scenario. Later, I surprisedly find there is one problem in Leetcode. Personally I not a fan of solving Leetcode problems. Let's write a post here since they provide detailed descriptions.

May 18, 2021

Rust-字符串交替合并

此需求来源于实际的工作场景。后发现在 Leetcode 上面也有这样的题目,我个人不喜欢 Leetcode,但是既然有了也方便提供题目描述,于是就干脆记录一下。

May 17, 2021

Rust 版 Basic Calculator II 以及改进

此文源自于Leetcode的基本计算机II。使用Rust语言完成,共计有两个版本。一个是基础版本(可以完成题目的要求),另一个是在此基础之上的改进(可以完成所有的运算符的要求)。

August 04, 2020

How to Combine io.TeeReader and io.Pipe

This post can explain and show you how to combine io.TeeReader() and io.Pipe together in Golang. You can easily use bytes.Buffer with io.TeeReader() easily according to the official documents in here.