i think i am doing somthing wrong
ishwar@warewolf:/crud$ go run main.go
command-line-arguments
./main.go:13:28: undefined: books ./main.go:15:33: undefined: books ./main.go:16:35: undefined: books ./main.go:17:43: undefined: books ./main.go:18:35: undefined: books ./main.go:19:43: undefined: books ./main.go:20:43: undefined: books
Can you share the code snippets instead of error logs would be better way to resolve the issue
You're using a variable that was not declared. This could be a scope problem (i.e: defining a variable in one scope x and trying to use it in another scope y)
Cheers. Mheni
On Mon, Jun 18, 2018, 9:01 AM Raja.G [email protected] wrote:
Can you share the code snippets instead of error logs would be better way to resolve the issue
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoesToEleven/golang-web-dev/issues/15#issuecomment-398045961, or mute the thread https://github.com/notifications/unsubscribe-auth/ATzmX09JyNrU8Io-gmo9V9gB-Lk9dL7Zks5t96SPgaJpZM4UVCxQ .