Merge pull request #22 from taeram/master
Fix app instantiation in greeter example
This commit is contained in:
commit
30ef543888
@ -69,7 +69,7 @@ import "os"
|
|||||||
import "github.com/codegangsta/cli"
|
import "github.com/codegangsta/cli"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
app = cli.NewApp()
|
app := cli.NewApp()
|
||||||
app.Name = "greet"
|
app.Name = "greet"
|
||||||
app.Usage = "fight the loneliness!"
|
app.Usage = "fight the loneliness!"
|
||||||
app.Action = func(c *cli.Context) {
|
app.Action = func(c *cli.Context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user