An open API service indexing awesome lists of open source software.

https://github.com/panicbit/gopa

Simple parameter access in go
https://github.com/panicbit/gopa

Last synced: 22 days ago
JSON representation

Simple parameter access in go

Awesome Lists containing this project

README

          

gopa
====

Gopa enables simple and safe access to parameters

Installation
============

Get it by issuing:

go get github.com/Blacktremolo/gopa

Use it by:

import "github.com/Blacktremolo/gopa"

Usage overview
==============

Gopa offers a few commands to REQUIRE a parameter of a specific type at a specific position.
Requiering means that if the param type does not match or it is non-existent the program will exit.
Gopa also offers commands to check if param of any type exists on a certain position,
so the number of parameters can be flexible.
The return number and fail message can simply be set in a public module variable.