November 2017
Intermediate to advanced
670 pages
17h 35m
English
Recall the following quote from Chapter 4, SOLID Design in Go?
Since this is a book about functional programming, now would be a good time to mention that a major benefit of using interfaces is that they allow us to group our application's functions in order to model real-life behaviors.
In the previous chapter, we modeled the behavior of a duck:
type StrokeBehavior interface { PaddleFoot(strokeSupply *int)}type EatBehavior interface { EatBug(strokeSupply *int)}
In this chapter, we will look at manipulating files in the Google Cloud Platform (GCP). Our interface defines the four behaviors of interest:
type ...