Skip to content

go hand error #57944

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xiaokentrl opened this issue Jan 20, 2023 · 0 comments
Closed

go hand error #57944

xiaokentrl opened this issue Jan 20, 2023 · 0 comments

Comments

@xiaokentrl
Copy link

xiaokentrl commented Jan 20, 2023

//Hand Error

func main() {  

    f, err := os.Open("/test.txt") :e {
        fmt.Println( e )  //err
        defer f.Close()
    }

    //or
    f, err := os.Open("/test.txt") :e HandEorr( e )

    //or
    f, err := os.Open("/test.txt") e: {
        fmt.Println(e)
    }

    f, err := os.Open("/test.txt") e:

}
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
@golang golang locked and limited conversation to collaborators Jan 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants