摘要: 今天在使用VSCode编写golang代码时,定义一个struct,扩展几个方法,如下: package storage import ( "fmt" "github.com/zsy619/gcommon" ) //ChunkFooter 块Footer type ChunkFooter struct { ChunkDataTotalSize int } /... 阅读全文
posted @ 2016-10-18 21:50 迪克猪 阅读(2559) 评论(0) 推荐(0) 编辑
摘要: 参考:https://msdn.microsoft.com/en-us/library/97af8hh4.aspx 测试代码: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GuidToString { class Progr... 阅读全文
posted @ 2016-10-18 16:18 迪克猪 阅读(966) 评论(0) 推荐(0) 编辑