YoVDO

Practice It: Go REST API Server

Offered By: LinkedIn Learning

Tags

Go Courses REST APIs Courses Struct Courses Integration Tests Courses GitHub Codespaces Courses

Course Description

Overview

Use GitHub Codespaces to learn practical golang basics like project layout, creating go modules, importing libraries, creating a REST API server, and more.

Syllabus

Introduction
  • Programming in Go
  • What you should know
  • Using GitHub Codespaces with this course
1. Some Basics
  • Installing Go and third-party libraries
  • Hello World
  • Creating a new module
  • Try it: Move functions to a new module
  • Check it: Move functions to a new module
2. Some Advanced Basics
  • Methods vs. functions
  • Structs and receiver methods
  • Pointers vs. value methods
  • The database
  • Try it: Create a struct and receiver methods
  • Check it: Create a struct and receiver methods
3. The Rest API Server
  • Using a router
  • Try it: Add the router
  • Check it: Add the router
  • Creating handlers: GET
  • Creating handlers: POST
  • Try it: Create the order handler
  • Check it: Create the order handler
4. POST and Beyond
  • Integration tests
  • Try it: Create integration tests
  • Check it: Create integration tests
Conclusion
  • Next steps

Taught by

Martine Moses

Related Courses

Applied GitHub Platform
Pragmatic AI Labs via edX
GitHub Foundations Certification Course – Pass the exam in 10 hours!
freeCodeCamp
Github Copilot with Python: Creating Text Games
Coursera Project Network via Coursera
8 Git Commands You Should Know
LinkedIn Learning
Advanced Core Python Code Challenges
LinkedIn Learning