Skip to content

Instantly share code, notes, and snippets.

@peterbourgon
Created March 31, 2016 15:00
Show Gist options
  • Save peterbourgon/304c21802b3531cd8d0b50247ca41522 to your computer and use it in GitHub Desktop.
Save peterbourgon/304c21802b3531cd8d0b50247ca41522 to your computer and use it in GitHub Desktop.
./main.go:36: cannot use myServer literal (type *myServer) as type etcdserverpb.KVServer in assignment:
*myServer does not implement etcdserverpb.KVServer (wrong type for Compact method)
have Compact("golang.org/x/net/context".Context, *etcdserverpb.CompactionRequest) (*etcdserverpb.CompactionResponse, error)
want Compact("github.com/coreos/etcd/vendor/golang.org/x/net/context".Context, *etcdserverpb.CompactionRequest) (*etcdserverpb.CompactionResponse, error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment