getopt

package
v0.0.0-...-215a3a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2015 License: BSD-3-Clause Imports: 2 Imported by: 0

README

go-getopt

porting of getopt in golang

http://web.mit.edu/ghudson/dev/third/krb5/src/util/windows/getopt.c

Usage

See example/example.go

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

Documentation

Index

Constants

View Source
const EOF = -1

Variables

View Source
var OptArg string
View Source
var OptErr = 1
View Source
var OptInd = 1
View Source
var OptOpt uint8

Functions

func Getopt

func Getopt(opts string) int

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL