Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Build a RESTful API with Golang (Go) programming language, а также все другие курсы, прямо сейчас!
Премиум
  1. Урок 1. 00:00:55
    Introduction
  2. Урок 2. 00:01:18
    Create the Book model and books slice
  3. Урок 3. 00:07:57
    Create the router and register api-endpoints and handler
  4. Урок 4. 00:02:18
    Add static data and implement 'getBooks'
  5. Урок 5. 00:08:17
    Implement 'getBook' handler to get a single book
  6. Урок 6. 00:07:35
    Implement 'addBook' and use Postman for http requests
  7. Урок 7. 00:05:10
    Implement 'updateBook'
  8. Урок 8. 00:03:57
    Implement 'removeBook'
  9. Урок 9. 00:05:42
    Create a Postgres database-instance and table
  10. Урок 10. 00:04:30
    Refactor code to include database interaction
  11. Урок 11. 00:04:35
    Set and load environment variables
  12. Урок 12. 00:02:16
    Connect to the database instance
  13. Урок 13. 00:04:37
    Implement 'getBooks' to get all book records from the table
  14. Урок 14. 00:02:59
    Implement 'getBook' to get a book record from the table by its id
  15. Урок 15. 00:07:49
    Implement 'addBook' to add a book record to the table
  16. Урок 16. 00:06:06
    Implement 'updateBook' to update a book record on the table
  17. Урок 17. 00:04:43
    Implement 'removeBook' to remove a book record from the table by its id
  18. Урок 18. 00:04:50
    Move the Book model to the models folder
  19. Урок 19. 00:04:11
    Move the database connection to driver
  20. Урок 20. 00:08:43
    Move handler functions to a controller
  21. Урок 21. 00:07:58
    Move db specific code to repository