In this article, we will build a simple REST CRUD API with Go.
I've also created a video if you will like to follow along!
Setup
L...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for putting this together, simple and straightforward. I was able to turn it into a simple full crud react native app!
github.com/konjoinfinity/rngo
Looking forward to part 2, thanks again.
I always appreciate concise, helpful tutorials that just work. Thank you!
Thanks for the tutorial, I think there is a small bug here
should be
otherwise the content type header does not get written
Another thing, I think you switched two lines
between the two sections
Add a new Book
andGet a book by id
Thanks again for the great tutorial
Nice catch! Thanks, I have updated
hai sir good day can you help me with this thing .it was a code structure sir.
i edited all your codes and it comes with this error
"..\pkg\test\Additem.go:24:19: cannot use item (type models.Item) as type []byte in argument to json.Unmarshal"
This was a great article! will there be a part 2 soon?
Hi Lucia, I'm glad this was helpful. yes there will be a part 2 where we will connect our API with gorm!
Part 2 is here! dev.to/karanpratapsingh/connecting...
this is awesome Karan! thanks!
Thanks!
Thank you for the tutorial!
But in Get All Books, there is a typo that confuse me a minute 😅 It should GetAllBooks.go instead GetBooks.go right?
I can see
Go
used by many Organization in cloud. But readability is not developer friendly likeC# or Java
. Have you tried Asp.net Core Web API to build API's its clean and fast ?