<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Go on 彩票号码助手</title>
		<link>/blog/tags/go/</link>
		<description>Recent content in Go on 彩票号码助手</description>
		<generator>Hugo</generator>
		<language>zh-hans</language>
		
		
		
			<copyright>Copyright © 2000-{year} zc310.tech. All Rights Reserved.</copyright>
		
		
			<lastBuildDate>Wed, 08 Mar 2023 09:39:39 +0800</lastBuildDate>
		
			<atom:link href="/blog/tags/go/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>golang msgpack</title>
				<link>/blog/post/my/2023/go-msgpack/</link>
				<pubDate>Wed, 08 Mar 2023 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/2023/go-msgpack/</guid>
				<description>&lt;p&gt;这个库&lt;code&gt;github.com/shamaton/msgpack/v2&lt;/code&gt;速度真是快，可是不如&lt;code&gt;github.com/vmihailenco/msgpack/v5&lt;/code&gt;兼容性好（它支持&lt;code&gt;omitempty&lt;/code&gt;标记）&lt;/p&gt;</description>
			</item>
			<item>
				<title>fast JsonRpc</title>
				<link>/blog/post/my/2023/fastjsonrpc/</link>
				<pubDate>Sun, 29 Jan 2023 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/2023/fastjsonrpc/</guid>
				<description>&lt;p&gt;使用&lt;a href=&#34;https://github.com/valyala/fasthttp&#34;&gt;fasthttp&lt;/a&gt;比较多，&lt;a href=&#34;/blog/post/rich_app/download/&#34;&gt;号码助手 app&lt;/a&gt; 过滤接口使用的&lt;a href=&#34;https://github.com/valyala/fastjson&#34;&gt;fastjson&lt;/a&gt;解析数据，弄了一个利用&lt;a href=&#34;https://github.com/valyala/quicktemplate&#34;&gt;quicktemplate&lt;/a&gt;输出 &lt;a href=&#34;https://www.jsonrpc.org/specification&#34;&gt;jsonrpc数据&lt;/a&gt; 的小代码。&lt;/p&gt;</description>
			</item>
			<item>
				<title>编译Win程序运行报错：go-sqlite3 requires cgo to work</title>
				<link>/blog/post/my/2020/cgo_enabled-go-sqlite3-requires-cgo-to-work/</link>
				<pubDate>Sat, 23 Jan 2021 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/2020/cgo_enabled-go-sqlite3-requires-cgo-to-work/</guid>
				<description>&lt;p&gt;编译号程序放Windows运行报错&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;Binary was compiled with &#39;CGO_ENABLED=0&#39;, go-sqlite3 requires cgo to work. This is a stub&lt;/code&gt;，&#xA;按照下面参数编译就正常了&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64  go build&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;安装 看看？&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;apt-get install gcc-multilib&#xA;apt-get install gcc-mingw-w64&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
			</item>
			<item>
				<title>Golang HTTP 请求同时支持 gzip deflate Brotli 编码</title>
				<link>/blog/post/my/2020/golang-http-brotli/</link>
				<pubDate>Wed, 09 Dec 2020 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/2020/golang-http-brotli/</guid>
				<description>&lt;p&gt;可利用 &lt;a href=&#34;https://github.com/andybalholm/brotli&#34;&gt;https://github.com/andybalholm/brotli&lt;/a&gt; 加个简单判断就支持&lt;code&gt;br&lt;/code&gt;压缩 😀。&lt;/p&gt;&#xA;&#xA;&lt;div style=&#34;width:100%;height:0;padding-bottom:40%;position:relative;&#34;&gt;&#xA;    &lt;iframe src=&#34;https://giphy.com/embed/11sBLVxNs7v6WA&#34;&#xA;      width=&#34;100%&#34; height=&#34;100%&#34; style=&#34;position:absolute&#34;&#xA;      frameBorder=&#34;0&#34; allowFullScreen&gt;&lt;/iframe&gt;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;go 语言 http 默认未传递&lt;code&gt;Accept-Encoding&lt;/code&gt;参数会自动支持&lt;code&gt;gzip&lt;/code&gt;压缩,&lt;/p&gt;&#xA;&lt;p&gt;😱 一旦修改此标记所有解码都需要自己来处理,我选用&lt;a href=&#34;https://github.com/klauspost/compress&#34;&gt;https://github.com/klauspost/compress&lt;/a&gt;解压。&lt;/p&gt;</description>
			</item>
			<item>
				<title>Go Module代理服务</title>
				<link>/blog/post/my/2020/go-module-goproxy/</link>
				<pubDate>Mon, 07 Dec 2020 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/2020/go-module-goproxy/</guid>
				<description>&lt;p&gt;暂时使用它了&lt;code&gt;export GOPROXY=https://mirrors.aliyun.com/goproxy/&lt;/code&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>golang sftp</title>
				<link>/blog/post/my/2020/golang-sftp/</link>
				<pubDate>Mon, 07 Dec 2020 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/2020/golang-sftp/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://github.com/pkg/sftp&#34;&gt;https://github.com/pkg/sftp&lt;/a&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>使用Golang生成二维码图片</title>
				<link>/blog/post/my/2020/golang-create-qrcode/</link>
				<pubDate>Wed, 25 Nov 2020 00:00:01 +0000</pubDate>
				<guid>/blog/post/my/2020/golang-create-qrcode/</guid>
				<description>&lt;p&gt;看到几个 Go QRCode 库都不错,直接拿来测试看看了，谢谢你们 💐！&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://github.com/boombuler/barcode/qr&#34;&gt;http://github.com/boombuler/barcode/qr&lt;/a&gt; 最后选它输出图片再简单调整下尺寸 🎉&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://github.com/skip2/go-qrcode&#34;&gt;http://github.com/skip2/go-qrcode&lt;/a&gt; 小图时识别效果不太好&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://github.com/yeqown/go-qrcode&#34;&gt;http://github.com/yeqown/go-qrcode&lt;/a&gt; 像只能输出 jpeg 格式&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
			<item>
				<title>Go Libraries and Software</title>
				<link>/blog/post/my/awesome-go/</link>
				<pubDate>Wed, 25 Nov 2020 00:00:00 +0000</pubDate>
				<guid>/blog/post/my/awesome-go/</guid>
				<description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/golang/go/wiki/Projects&#34;&gt;go/wiki/Projects&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/lithammer/fuzzysearch&#34;&gt;Tiny and fast fuzzy search&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/ka-weihe/fast-levenshtein&#34;&gt;Fastest levenshtein&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;compress&#34;&gt;compress&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/andybalholm/brotli&#34;&gt;brotli&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/klauspost/compress&#34;&gt;klauspost&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;qrcode&#34;&gt;qrcode&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://github.com/boombuler/barcode&#34;&gt;boombuler&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://github.com/skip2/go-qrcode&#34;&gt;skip2&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://github.com/yeqown/go-qrcode&#34;&gt;yeqown&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;ssh&#34;&gt;ssh&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/pkg/sftp&#34;&gt;sftp&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
			</item>
	</channel>
</rss>
