V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
turing
V2EX  ›  Go 编程语言

go-colors 尝试写了第一个 go 模块

  •  
  •   turing ·
    guo-yu · 2014-07-01 20:28:27 +08:00 · 1950 次点击
    这是一个创建于 3578 天前的主题,其中的信息可能已经有所发展或是发生改变。
    完成的是 npm/colors 同样的事情:


    直接安装:
    $ go get github.com/turingou/go-colors

    GitHub仓库:
    https://github.com/turingou/go-colors
    9 条回复    2014-07-03 02:25:35 +08:00
    jiyinyiyong
        1
    jiyinyiyong  
       2014-07-01 21:07:41 +08:00
    把 Node 模块转到 Go 是比较开心的一件事情. JS 的语言特性, Go 很多都有对应
    yanng
        2
    yanng  
       2014-07-01 21:36:29 +08:00
    支持,加油
    fansekey
        3
    fansekey  
       2014-07-01 21:43:26 +08:00
    我当初想实现的时候发现已经有很多人做了,做的还蛮不错,就放弃了。
    timothyye
        4
    timothyye  
       2014-07-01 23:07:23 +08:00 via Android
    node大叔要转行搞go了?
    turing
        5
    turing  
    OP
       2014-07-01 23:30:44 +08:00
    @timothyye 就是学习一下 go 的写法哈哈,技多不压身
    bcxx
        6
    bcxx  
       2014-07-01 23:45:55 +08:00
    发布之前 go fmt 一下……
    missdeer
        7
    missdeer  
       2014-07-02 09:01:31 +08:00
    对啊,不要写node.js了,快用go把播放器啊,candy啊重写一遍
    no13bus
        8
    no13bus  
       2014-07-02 09:10:03 +08:00
    这个功能好玩。不知道python有没有
    fx
        9
    fx  
       2014-07-03 02:25:35 +08:00
    写了个Elixir 版本的 https://github.com/lidashuang/colors
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3512 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:56 · PVG 18:56 · LAX 03:56 · JFK 06:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.