You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my code:
location := Place{}
location.region , location.city = getLocation(params["code"])
r.HTML(200, "home/place", location)
When i code : {{.}} , then it shows {abc def }
But I wanna show somethings like:
My region: {{ .region }}
My city : {{ .city }}
But i can't. So, can you show me how to do that ? Thank you
The text was updated successfully, but these errors were encountered:
This is my code:
location := Place{}
location.region , location.city = getLocation(params["code"])
r.HTML(200, "home/place", location)
When i code : {{.}} , then it shows {abc def }
But I wanna show somethings like:
My region: {{ .region }}
My city : {{ .city }}
But i can't. So, can you show me how to do that ? Thank you
The text was updated successfully, but these errors were encountered: