Skip to content

Releases: Kretech/xgo

bugfix

25 Sep 15:47
Compare
Choose a tag to compare

fix: load new file in cached package don't correct

一个比较大的更新

14 May 16:53
0c8d131
Compare
Choose a tag to compare

dumper

  • 支持结构体
  • 支持显示行号(默认关闭)
  • 支持全局禁用(默认不禁用)

astutil

  • 新坑,原 dump 里的部分代码迁移至此

fix dump(nil)

10 May 13:27
Compare
Choose a tag to compare
fix dump(nil) Pre-release
Pre-release
v0.3.3

fix dump(nil)

bugfix: remove short package

18 Mar 13:58
Compare
Choose a tag to compare
Pre-release
v0.3.1

remove short

digo singleton

16 Mar 13:59
Compare
Choose a tag to compare

xgo/dump

15 Mar 17:02
Compare
Choose a tag to compare
xgo/dump Pre-release
Pre-release

主要是将 p/dump 单拆到 dump 包,同时 varName() 支持了在 struct 上调用 dump()

a := 1

// use default instance
dump.Dump(a)

// new instance
c := dump.NewCliDumper()
c.Dump(a)

// 自定义 out
buf := &bytes.Buffer{}
dump.NewCliDumper(dump.OptOut(buf))

详情介绍: https://github.com/Kretech/xgo/blob/master/dump/readme.md

xgo/p-v0.1.0 发布

14 Mar 13:12
Compare
Choose a tag to compare

https://github.com/Kretech/xgo/tree/master/p

功能介绍

  • 变量类型更丰富
  • 颜色更漂亮
  • 自己实现了 value 的输出取代 json
  • 支持几个自定义 Option
  • 变量顺序保持