We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd786f commit b5681bfCopy full SHA for b5681bf
go.mod
@@ -0,0 +1,9 @@
1
+module github.com/chermehdi/egor
2
+
3
+go 1.13
4
5
+require (
6
+ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
7
+ github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect
8
+ gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
9
+)
main.go
@@ -1,7 +1,14 @@
package main
-import "fmt"
+import (
+ "fmt"
+ "os"
+ "github.com/chermehdi/egor/parse"
10
func main() {
- fmt.Println("vim-go")
11
+ parser := parse.NewParser(os.Args)
12
+ options := parser.Parse()
13
+ fmt.Printf("%v\n", options)
14
}
0 commit comments