Displaying 1 to 11 from 11 results

go-packages - A large repository of code and documented examples for Go's standard package library.

  •    Go

A large repository of code and documented examples for Go's standard package library. go-packages is a large collection of code examples and documentation for a large majority of the functions and methods from Go's standard package library.

go-pex - A permissions system for Go structs

  •    Go

Developing APIs in Go is very common but so far there is no easy way to choose what to return accordingly to the user that did the request and to the action. To solve that, I created a library that allow developers to easily set permissions of the fields of a struct with Go tags. The system uses the pex tag in each field to determine if a user has or not permission for that action in that field.

envy - Envy automatically exposes environment variables for all of your Go flags

  •    Go

Automatically exposes environment variables for all of your flags. It supports the standard flags package along with limited support for Cobra commands. Envy takes a namespace prefix that will be used for environment variable lookups. Each flag registered in your app will be prefixed, uppercased, and hyphens exchanged for underscores; if a matching environment variable is found, it will set the respective flag value as long as the value is not otherwise explicitly set (see usage for precedence).




start - Start Go command line apps with ease

  •    Go

I built the start package mainly because existing flag packages did not provide any option for getting default values from environment variables or from a config file (let alone in a transparent way). And I decided to include command and subcommand parsing as well, making this package a complete "starter kit". Basic functionality is implemented. Unit tests pass but no real-world tests were done yet.


Neo-cowsay - 🐮 cowsay is reborn

  •    Go

by Original. Neo Cowsay written in Go. This cowsay extended the original and added fun more options. And it can be used as a library. asciinema is heavy...