XD, Nothing here.

  • Blog
  • About
  • Search
  • Linux (7)
  • CPP (2)
  • Git (4)
  • Go (4)
  • Storage (1)
  • Caddy (1)
  • Blockchain (3)
  • Ethereum (2)
  • ENV (5)
  • DSAA (1)
  • Docker (1)
  • Visual Studio Code (1)

Using '%q' inside fmt.Printf in Go (instead of '%s')

Jan 25, 2023

When printing a string in Go you can use the verb %q in the format parameters of fmt functions, when available, to safely escape a string and add quotes to it.

What is Little-endian and Big-endian?

Jan 18, 2023

This post explains what little-endian and big-endian is. It also explains the binary.PutUvarint function in the standard go package.

在 Ubuntu 手动安装 Go

Jan 12, 2023

非常想念 Arch Linux 的 pacman。

实现自己的简易 Container

Jul 14, 2022

参考:docker run image <cmd> <params> 实现:mnctn run <cmd> <params>


© therainisme 2025