Creating Web Services with Go 1
In this course you will build restful web services using Go’s standard library.
What you'll learn
Web services power just about every web application that we as consumers use every day. In this course, Creating Web Services with Go 1, you'll learn how to build restful web services using Go’s standard library. First, you’ll explore the use of standard http methods to perform create, update, and delete operations using persistent data with a database. Next, you'll learn how to test your webservices using http debugging tools and you’ll see how you can make use of websockets to improve the user experience of your application. Finally, you'll discover how you can format data using Go’s built in templating package. By the end of this course, you should have a firm foundation from which to build your own web services using Go.
Table of contents
- Introduction 2m
- Creating Basic Handlers 5m
- Demo: Creating Handlers 3m
- Working with JSON 2m
- Demo: Working with JSON 2m
- Working with Requests 2m
- Demo: Working with Requests 6m
- URL Path Parameters 1m
- Demo: Dealing with Path Parameters 5m
- Middleware 2m
- Demo: Creating Middleware 2m
- Enabling CORS 2m
- Demo: Updating the Sample Web Application 11m
- Summary 1m
- Introduction 2m
- Database Setup 2m
- Connecting to a Database 1m
- Demo: Connecting to a Database 2m
- Querying Data 2m
- Demo: Querying Data 4m
- Executing SQL 1m
- Demo: Executing SQL 5m
- Connection Pooling 4m
- Demo: Connection Pooling 2m
- Uploading and Downloading Files 3m
- Demo: Uploading and Downloading Files 7m
- Summary 1m