V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
bigpigeon
V2EX  ›  分享创造

go 语言字段 tag 格式化工具 tagfmt v1.1.8 发布

  •  
  •   bigpigeon · 2020-12-12 12:16:35 +08:00 · 1493 次点击
    这是一个创建于 1202 天前的主题,其中的信息可能已经有所发展或是发生改变。
    项目地址:
    https://github.com/bigpigeon/tagfmt
    变动:
    修复 snake/lower_camel/upper_camel 参数为空字符串会 panic
    修复内部方法 splitWithoutQuote 分词不正确的问题
    增加 use in vscode 的说明
    3 条回复    2020-12-13 18:11:43 +08:00
    yanzhiling2001
        1
    yanzhiling2001  
       2020-12-12 23:53:40 +08:00
    我觉得应该有好多人跟我一样没看懂这是干嘛用的
    raaaaaar
        2
    raaaaaar  
       2020-12-13 13:04:56 +08:00 via Android
    @yanzhiling2001 #1 给 tag 格式化的工具吧,似乎 gofmt 没有格式化 tag
    bigpigeon
        3
    bigpigeon  
    OP
       2020-12-13 18:11:43 +08:00
    @yanzhiling2001 就是 2 楼说的那样,详细功能可以看看 README
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2819 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:25 · PVG 23:25 · LAX 08:25 · JFK 11:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.