golang 常用库


原文链接: golang 常用库

##go 语言包
time

命令行
https://github.com/urfave/cli.git

package main

import (
  "fmt"
  "os"

  "github.com/urfave/cli"
)

func main() {
  app := cli.NewApp()
  app.Name = "boom"
  app.Usage = "make an explosive entrance"
  app.Version = ""
  app.Action = func(c *cli.Context) error {
    fmt.Println("boom! I say!")
    return nil
  }

  app.Run(os.Args)
}

日志

"github.com/Sirupsen/logrus"

oauth2

https://github.com/golang/oauth2.git

oauth2-server

https://github.com/bitly/oauth2_proxy.git
https://github.com/RichardKnop/go-oauth2-server.git

##RobotGo v0.10.0,Golang 跨平台 GUI 自动化系统

`