Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Practice It: Go REST API Server

via LinkedIn Learning

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

Reviews

Start your review of Practice It: Go REST API Server

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.