Skip to content

一个关于Time的问题 #13

@shcw

Description

@shcw

这一行代码 https://github.com/bigwhite/experiments/blob/master/go_timer_reset/example4.go#L31
为什么不选择使用defer写在for之前呢 比如24行的位置

望大佬解答~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions