<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lackystd的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lackystd</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lackystd]]></copyright><item><title><![CDATA[golang中float64 保留小数点后指定的位数]]></title><link>https://blog.youkuaiyun.com/lackystd/article/details/122591144</link><guid>https://blog.youkuaiyun.com/lackystd/article/details/122591144</guid><author>lackystd</author><pubDate>Wed, 19 Jan 2022 22:19:35 +0800</pubDate><description><![CDATA[代码如下：


// Decimal float64 保留小数点后位数
// value float64 浮点数
// prec int 需保留小数点后的位数
func Decimal(value float64,prec int) float64 {
	value, _ = strconv.ParseFloat(strconv.FormatFloat(value,'f',prec,64), 64)
	return value
}


...]]></description><category></category></item><item><title><![CDATA[golang 使用反射实现获取struct的field内容]]></title><link>https://blog.youkuaiyun.com/lackystd/article/details/122365820</link><guid>https://blog.youkuaiyun.com/lackystd/article/details/122365820</guid><author>lackystd</author><pubDate>Fri, 07 Jan 2022 15:50:54 +0800</pubDate><description><![CDATA[go语言 使用反射获取struct的field内容]]></description><category></category></item><item><title><![CDATA[人人开源权限管理系统renren-fast-vue node.js 版本v16安装方法]]></title><link>https://blog.youkuaiyun.com/lackystd/article/details/121590986</link><guid>https://blog.youkuaiyun.com/lackystd/article/details/121590986</guid><author>lackystd</author><pubDate>Sun, 28 Nov 2021 14:33:15 +0800</pubDate><description><![CDATA[人人开源权限管理系统renren-fast-vue node.js 版本v16安装方法]]></description><category></category></item></channel></rss>