Skip to content

gocode no return #503

Open
Open
@akiyosi

Description

@akiyosi

I setup zchee/deoplete-go but it does not work. I ran gocode command with reference to deoplete-plugins/deoplete-go#50, but nothing was returned. What is the problem?

$ cp ~/.config/nvim/dein/repos/github.com/zchee/deoplete-go/tests/fmt.go fmt.go
$ cat fmt.go
package main

import (
        "fmt"
        "net"
        "os"
        "strconv"
        "syscall"
)

var str string

func main() {
        fmt.Println(os.Args[0])
        fmt.Println(net.InterfaceAddrs())

        fmt.Println(strconv.FormatInt(int64(syscall.Getuid()), 10))
}
$ gocode -f json --in fmt2.go autocomplete 128
$

I installed gocode with following command.

$ go get -u -v github.com/nsf/gocode

My environment is following.

$ goenv versions
  1.10rc1
  1.10rc2
* 1.9.4 (set by /Users/akiyosi/.goenv/version)

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