Skip to content

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

Open
@ominidx

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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