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

[BUG] Problem getting the client package #372

Open
LaraSchvartzman opened this issue Jan 24, 2020 · 0 comments
Open

[BUG] Problem getting the client package #372

LaraSchvartzman opened this issue Jan 24, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@LaraSchvartzman
Copy link

LaraSchvartzman commented Jan 24, 2020

Describe the bug
When I type go get "github.com/CovenantSQL/CovenantSQL/client" and after that go get "github.com/CovenantSQL/CovenantSQL/cmd/cql" I get the same terminal prompt:
go/src/github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces/transaction_wrapper.go:169:20: decodeDriver.TryDecodeAsNil undefined (type codec.genHelperDecDriver has no field or method TryDecodeAsNil)
Afterwards, when importing either package I get the error:
../../go/src/github.com/CovenantSQL/CovenantSQL/blockproducer/interfaces/transaction_wrapper.go:169:20: decodeDriver.TryDecodeAsNil undefined (type codec.genHelperDecDriver has no field or method TryDecodeAsNil)
This happens for WriteArrayElem, ReadArrayElem and TryDecodeAsNil
How can I fix this? Thanks!

To Reproduce
Commands to reproduce the behavior:

  1. In the terminal type go get "github.com/CovenantSQL/CovenantSQL/client"
  2. You will get the first behaviour described
  3. In any Go IDE execute a basic script importing the package, for example:
    package main

import (
"fmt"
"github.com/CovenantSQL/CovenantSQL/client"
)
func main() {
fmt.Println("Hello World")
}
4. You will get the error described

@LaraSchvartzman LaraSchvartzman added the bug Something isn't working label Jan 24, 2020
@LaraSchvartzman LaraSchvartzman changed the title [BUG] [BUG] Problem getting the client package Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant