mislav / go-utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Useful utils for Go command-line programs

cli package

  • cli.Args struct: a better os.Args
  • cli.Register(), cli.Lookup(): register and lookup CLI subcommands

api package

  • api.Client struct: thin wrapper around net/http

pathname package

  • pathname.Pathname struct: Ruby Pathname-like handling of filesystem paths

utils package

  • utils.Env struct: a map-based approach to os.Environ()
  • utils.Set struct

About

License:Creative Commons Zero v1.0 Universal


Languages

Language:Go 97.5%Language:Makefile 2.5%