mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2024-11-23 06:04:05 +00:00
oopsie
This commit is contained in:
parent
306e2d7118
commit
052a6003ea
|
@ -1162,7 +1162,7 @@ func (metadata *Metadata) AddUpdateInfo(user types.User) {
|
|||
|
||||
Again, without breaking the rest of our codebase, we've managed to introduce new functionality. This kind of programming makes implementing new features very quick and painless, which is exactly what we are trying to achieve by writing clean code.
|
||||
|
||||
Going back to our interfaces contract fulfillment using embedded interfaces, the code below shows an example, which compiles without any issues:
|
||||
Let's return to the topic of interface contract fulfillment using embedded interfaces, the code below shows an example, which compiles without any issues:
|
||||
|
||||
```go
|
||||
type NullWriter struct {
|
||||
|
|
Loading…
Reference in a new issue