Skip to content
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

SyntaxError: invalid syntax for import "fmt" in Jupyter #91

Open
ominidx opened this issue Jan 22, 2021 · 0 comments
Open

SyntaxError: invalid syntax for import "fmt" in Jupyter #91

ominidx opened this issue Jan 22, 2021 · 0 comments

Comments

@ominidx
Copy link

ominidx commented Jan 22, 2021

Issue 1: While running in jupyter notebook

import "fmt"

File "<ipython-input-15-c778ddbffe65>", line 1
    import "fmt"
           ^
SyntaxError: invalid syntax

go version go1.15.1 linux/amd64

issue 2 : While clicking the format go button in jupyter we can see warning in console

[IPKernelApp]` WARNING | Unknown message type: 'gofmt_request

What can be done to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant