Beginner question : how to pass the map from vue js app to backend #2763
Unanswered
rockey5520
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You could import the person model and use that as that's what it's expecting. I also noticed that you use underscores in your go Jason tags but not in your code |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried importing Person to HelloWorld.vue but it resulted in an error as below. Probably I understood something wrong here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am just beginning to understand how to build an app and am stuck with the following problem. I was wondering if anyone could help me out.
Problem: Extending the example, I am trying to pass "person" object to the go method from the vuejs. However I console I see
nil
is passed alwayshere are the code snippets
HelloWorld.vue
app.go
Beta Was this translation helpful? Give feedback.
All reactions