Go strconv

Go语言内置包之strconv Go语言中strconv包实现了基本数据类型和其字符串表示的相互转换。 strconv包 strconv包实现了基

Go tail

Go tail库 实时读取文件内容 go get github.com/hpcloud/tail 示例: package main import ( "fmt" "time" "github.com/hpcloud/tail" ) func main() { fileName := "./my.log" config := tail.Config{ ReOpen: true, // 重新打开 Follow: true, // 是否跟随 Location: &tail.SeekInfo{Offset: 0, Whence: 2}, // 从文件的哪个地方开始读 MustExist: false,

Go net

Go语言标准库net包介绍 一、域名解析 DNS 记录是与 DNS 服务器关联的映射文件,无论每个域名与哪个 IP 地址关联,它们都能处理发送到每个域名的请求。ne

Go ini

Go ini库 参考:https://juejin.cn/post/6844904048764649479 简介 ini 是 Windows 上常用的配置文件格式。MySQ