args

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(args []string, index int, def int) (int, error)

Int get arguments at given index, if not exists, use default value,

otherwise, convert it to inteeger

func String

func String(args []string, index int, def string) string

String get argument at given index, if not exists, use default value

Types

This section is empty.

Jump to

Keyboard shortcuts

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