golang-web-dev icon indicating copy to clipboard operation
golang-web-dev copied to clipboard

i think i am doing somthing wrong

Open ishwarchandratiwari opened this issue 7 years ago • 2 comments

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

ishwarchandratiwari avatar May 31 '18 13:05 ishwarchandratiwari

Can you share the code snippets instead of error logs would be better way to resolve the issue

GRajaMca avatar Jun 18 '18 13:06 GRajaMca

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 .

ghost avatar Jun 18 '18 13:06 ghost