Solution 3: Working with REST APIs

Let’s solve the challenge set in the previous lesson.

We'll cover the following

Solution

Here is the updated restdb package (restdb.go) to support MySQL instead of PostgreSQL. The commands to execute the useRestdb.go code are provided in the script.sh file.

Get hands-on with 1400+ tech skills courses.