Join Todd McLeod for an in-depth discussion in this video Reading file contents, part of Code Clinic: Go.
- So now I'm going to show you how you change the delimiter.…We're using the CSV package and we want to read files from a…CSV stand point, how do we change the limiter?…And I'm going to show you how to access the desired data…because we only want some of the…fields, which are in each record.…And we're going to take those fields because they're strings…and we want to do mathematical computations with them.…And go is very strongly typed, right?…So it's compiled language and it's static,…which means that you have to be very precise about what is…what type and only do calculations with the correct type.…
And so we're going to take our…strings and turn them into a float 64.…And then we're going to calculate the mean.…So that's what I'm hoping to show you in this video.…And I also want to show you a…little bit more about interfaces.…Because I realized in the last video that I might be leaving…a few of my very good friends behind…and I don't want to do that.…And so here we have CSV new reader, and I said hey it takes…
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.