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

Code Clinic: Python
LinkedIn Learning
Learning Java by Example
LinkedIn Learning
JavaScript Code Challenges
LinkedIn Learning
CSS: Enhancing Interfaces with Animation
LinkedIn Learning
GitHub Codespaces: First Look
LinkedIn Learning