Building Microservices API in Go - Logger and AppError as Go Module

Building Microservices API in Go - Logger and AppError as Go Module

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial revisits error handling and logging in a banking application, focusing on consolidating errors into meaningful HTTP status codes. It highlights the need to replace standard error and logger libraries with custom ones to reduce redundancy and maintenance. The tutorial demonstrates creating a new Go module for shared packages, pushing it to GitHub, and versioning it for use in microservices. It concludes with resources for further learning about Go modules.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What are the potential issues with duplicating error and logger packages in the auth service?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the process of creating a new Go project for the banking library.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What steps are involved in pushing the new Go module to GitHub?

Evaluate responses using AI:

OFF