mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2024-11-23 14:14:05 +00:00
Update README.md
Co-Authored-By: Aleksandr Hovhannisyan <aleksandrhovhannisyan@gmail.com>
This commit is contained in:
parent
052a6003ea
commit
2acf6d8020
|
@ -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.
|
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.
|
||||||
|
|
||||||
Let's return to the topic of interface 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. Consider the following code as an example:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
type NullWriter struct {
|
type NullWriter struct {
|
||||||
|
|
Loading…
Reference in a new issue