using glide

This commit is contained in:
fatedier committed 2017-11-01 16:21:57 +08:00
1 parent ad858a0d32
commit 0f1005ff61
1073 files changed
+293160 -171

No files matched your search

@@ -0,0 +1,24 @@
package main
import (
"fmt"
"github.com/docopt/docopt-go"
)
func main() {
usage := `Example of program which uses [options] shortcut in pattern.
Usage:
options_shortcut_example [options] <port>
Options:
-h --help show this help message and exit
--version show version and exit
-n, --number N use N as a number
-t, --timeout TIMEOUT set timeout TIMEOUT seconds
--apply apply changes to database
-q operate in quiet mode`
arguments, _ := docopt.Parse(usage, nil, true, "1.0.0rc2", false)
fmt.Println(arguments)
}