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
- Host: GitHub
- URL: https://github.com/panicbit/gopa
- Owner: panicbit
- Created: 2012-08-24T02:38:33.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2014-12-08T15:03:24.000Z (over 11 years ago)
- Last Synced: 2023-03-27T16:48:16.436Z (about 3 years ago)
- Language: Go
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.