restapi/configure_todo_list.go - api.TodoGetHandler undefined error #2472
Unanswered
albertleng
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am a newbie in
go
andgo-swagger
. I am following steps in Simple Server tutorial in goswagger.io.I am using
Ubuntu 18.04
,swagger v0.25.0
andgo 1.15.6
.Following the same steps, there are a few differences of the files generated. For instance, goswagger.io's has
![my_own](https://user-images.githubusercontent.com/24582966/103657582-08287780-4fa5-11eb-822c-cd2946120af0.png)
![goswagger io](https://user-images.githubusercontent.com/24582966/103657604-0e1e5880-4fa5-11eb-8aac-c74dba197333.PNG)
find_todos_okbody.go
andget_okbody.go
inmodels
but mine does not. Why is that so?Mine:
goswagger.io's
Starting the server as written in the tutorial
go install ./cmd/todo-list-server/
gives me the following error. Can anyone please help with this?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions