Added defer example to main.go
This commit is contained in:
parent
b2f12f8feb
commit
239509051b
2 changed files with 2 additions and 6 deletions
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"license.author": "Mert Gör and contributors",
|
|
||||||
"license.default": "bsd-3-clause",
|
|
||||||
"license.year": "auto"
|
|
||||||
}
|
|
3
main.go
3
main.go
|
@ -82,5 +82,6 @@ func main() {
|
||||||
interfaces.Demo2()
|
interfaces.Demo2()
|
||||||
|
|
||||||
defer_statement.B()
|
defer_statement.B()
|
||||||
defer_statement.Test()
|
defer_statement.Test()
|
||||||
|
defer_statement.Demo3()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue