Skip to content

Go mod initialize to avoid "malformed import path" UX #3273

Open
@kaihendry

Description

@kaihendry

What did you do? (required: The issue will be closed when not provided)

Google search and hunt around :Go prefix for a go mod init type helper

What did you expect to happen?

A go.mod init helper like VScode's Go: Initialize go.mod
https://youtu.be/6r08zGi38Tk?t=233

What happened instead?

Quit vim-go to run go mod init github.com/$myusername/$(basename $pwd)

Configuration (MUST fill this out):

vim-go version:

I don't know how to tell this with vim plugged. The latest?

Vim version (first three lines from :version):

NVIM v0.5.0
Build type: Release
LuaJIT 2.0.5

Go version (go version):

go version go1.16.7 linux/amd64

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