Zenler Player
Your course is loading. Hang tight.
Building a Module in Go (Golang)
Back to curriculum
0% Complete
0% Complete
Introduction
How to ask for help
Installing Go
Installing an IDE
Setting up our GO Workspace
What we will cover in this section
Creating a function to generate a random string
Trying out our new module in a simple Go application
Writing a test for our RandomString function
Pushing our module up to GitHub
What we will cover in this section
Getting started with the UploadFiles method
Adding a project to our workspace to test uploading files
Trying out our new upload functionality
Adding a convenience method, UploadOneFile
Writing a test for the UploadFiles method in our module
Writing a test for UploadOneFile
Pushing our changes to GitHub
What we'll cover in this section
Writing the CreateDirIfNotExists method
Trying out our new method
Writing a test for CreateDirIfNotExists
Updating the UploadFiles method to take advantage of our new method
Updating our readme and pushing changes to Github
What we'll cover in this section
Writing the Slugify method for our module
Adding an app-slug project to our Go workspace and trying things out
Update our tests
Pushing our changes to Github
What we will cover in this section
Writing the DownloadStaticFile function
Trying things out
Writing a test for DownloadStaticFile
Pushing our changes to Github
What we'll cover in this section
Reading JSON
Improving error messages in ReadJSON
Writing a test for ReadJSON
Adding additional cases to our table test for ReadJSON
Writing JSON
Writing a test for WriteJSON
Creating the ErrorJSON function
Writing a test for ErrorJSON
Pushing JSON to a remote service
Writing a test for PushJSONToRemote
Setting up our simple web app and adding some HTML
Getting started with the web app
Handling a simple JSON Post
Handling pushing to a remote service
What we'll cover in this section
What is semantic versioning?
Tagging version 1.0.0 of our module
Updating the version to 2.0.0
What we'll cover in this section
Creating a simple (dummy) API
Importing our toolkit module to the project and trying one endpoint
Trying out the login handler
Introoduction
Introduction
Preview
How to ask for help
Project Setup
Installing Go
Preview
Installing an IDE
Preview
Setting up our GO Workspace
Preview
Getting started with the Module
What we will cover in this section
Preview
Creating a function to generate a random string
Trying out our new module in a simple Go application
Writing a test for our RandomString function
Pushing our module up to GitHub
Uploading one or more files
What we will cover in this section
Preview
Getting started with the UploadFiles method
Adding a project to our workspace to test uploading files
Trying out our new upload functionality
Adding a convenience method, UploadOneFile
Writing a test for the UploadFiles method in our module
Writing a test for UploadOneFile
Pushing our changes to GitHub
Creating Directories if they do not exist
What we'll cover in this section
Preview
Writing the CreateDirIfNotExists method
Trying out our new method
Writing a test for CreateDirIfNotExists
Updating the UploadFiles method to take advantage of our new method
Updating our readme and pushing changes to Github
Generating Slugs
What we'll cover in this section
Preview
Writing the Slugify method for our module
Adding an app-slug project to our Go workspace and trying things out
Update our tests
Pushing our changes to Github
Downloading a Static File
What we will cover in this section
Preview
Writing the DownloadStaticFile function
Trying things out
Writing a test for DownloadStaticFile
Pushing our changes to Github
Working with JSON
What we'll cover in this section
Preview
Reading JSON
Improving error messages in ReadJSON
Writing a test for ReadJSON
Adding additional cases to our table test for ReadJSON
Writing JSON
Writing a test for WriteJSON
Creating the ErrorJSON function
Writing a test for ErrorJSON
Pushing JSON to a remote service
Writing a test for PushJSONToRemote
Setting up our simple web app and adding some HTML
Getting started with the web app
Handling a simple JSON Post
Handling pushing to a remote service
Tagging a release & Semantic Versioning
What we'll cover in this section
Preview
What is semantic versioning?
Tagging version 1.0.0 of our module
Updating the version to 2.0.0
Trying our module out
What we'll cover in this section
Creating a simple (dummy) API
Importing our toolkit module to the project and trying one endpoint
Trying out the login handler
×
This is an unpublished lesson. This lesson will not be shown for students unless you set it as Public.
Back to Dashboard
No contents are available in this lesson!
No lessons available !
Back to Dashboard
Lesson contents locked
Enroll to unlock this lesson.
Enroll to unlock
Next Lesson