Skip to content

Commit

Permalink
Merge pull request #358 from SepehrBazyar/patch-2
Browse files Browse the repository at this point in the history
Fix Use Switch Example Code Interface
  • Loading branch information
Ja7ad authored May 2, 2024
2 parents ba01e43 + ba01152 commit 48fbd2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/chapter 2/2.4-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ func (d dog) walk() {
func main() {
var a animal

x = lion{age: 10}
print(x)
a = lion{age: 10}
print(a)

}

Expand Down

0 comments on commit 48fbd2b

Please sign in to comment.