Join Todd McLeod for an in-depth discussion in this video Passing data to templates and using pipelines, part of Code Clinic: Go.
- So the next step for us in the process…is to take our data and to be able to pass that…into the template when it executes…so that we can then merge our data with our text,…our form letter, our spam emails, our HTML web pages.…And to do that, we're going to use…this concept of pipelining.…So we're going to be looking at these files,…and right now, we're looking at this main.go…from right here where I have some data structures.…But first, I sort of want to take…a quick look at pipelining.…So pipelining is this concept in Unix…where the output of one process…becomes the input of the next process,…and so there's your pipe, and it's…also like a pipeline because it's…just going down the pipe this way.…
So it'll be like, hey the output of this program…becomes the input of this program.…The output of this program…becomes the input of that program,…and so we could see that in action with passing data…into templates where if I have these data structures,…and you know, I pass year in my template…when it executes, years made up of a bunch of semesters,…
Todd introduces challenges and then provides overviews of his solutions in Go. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Beginner
Google App Engine Essential Trainingwith Joseph Lowery3h 26m Intermediate
1. Problem 1—Exploring Lake Pend Oreille
2. Problem 2—Image Analysis
3. Problem 3—Eight Queens
4. Problem 4—Accessing Peripherals
5. Problem 5—Recursion and Directories
6. Problem 6—Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.