DEV Community

Discussion on: Build a REST API with Go - For Beginners

Collapse
karanpratapsingh profile image
Karan Pratap Singh Author

Nice catch! Thanks, I have updated

Collapse
sethjoe12 profile image
karl joseph

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"