Build a todo CLI using GO
CLI in go
Go is great for building CLI applications. It provides two very powerful tools cobra-cli and viper. But in this example, we are going to use the flag package and other built-in tools.
For more information on CLI using go, visit go.dev
Creat...
dipankarmedhi.hashnode.dev8 min read
Hi, thank you for awesome article. Running the above giving the following error
# command-line-arguments ./main.go:20:18: undefined: todoFileName ./main.go:38:20: undefined: todoFileName ./main.go:44:20: undefined: todoFileNameso I added following line
todoFileName := ".todo.json"is it right way to do or did I miss something following your blog.