Skip to content

Commit

Permalink
Update 2.4-interface.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SepehrBazyar authored May 2, 2024
1 parent ba01e43 commit ba01152
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 ba01152

Please sign in to comment.