Giter Club home page Giter Club logo

cql-calculator's People

Contributors

fossabot avatar johnnywidth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cql-calculator's Issues

panic: parse regular columns failed. found "/", expected column name

When pasting a query that has comments, the program fails:

$ cql-calculator -query 'create table if not exists mytable
(
    value1 text, // this is line comment
    value2 text, /* this is block comment*/
    -- another comment
    id uuid,
    PRIMARY KEY( id )
);'
Enter rows count per one partition: 1
panic: parse regular columns failed. found "/", expected column name

goroutine 1 [running]:
main.main()
	/Users/kieran/go/pkg/mod/github.com/johnnywidth/[email protected]/cmd/cql-calculator/main.go:38 +0x8d7

cannot build

Hello,

trying to compile and I have

~/tmp/cql-calculator/cmd] master ± go build
generate.go:8:2: cannot find package "github.com/johnnywidth/cql-calculator/src" in any of:
	/nix/store/bg6j6r90v0mv96fq7i5iiamscwrkyby1-go-1.10.3/share/go/src/github.com/johnnywidth/cql-calculator/src (from $GOROOT)
	/home/spinus/go/src/github.com/johnnywidth/cql-calculator/src (from $GOPATH)
generate.go:9:2: cannot find package "github.com/johnnywidth/cql-calculator/src/cql-parser" in any of:
	/nix/store/bg6j6r90v0mv96fq7i5iiamscwrkyby1-go-1.10.3/share/go/src/github.com/johnnywidth/cql-calculator/src/cql-parser (from $GOROOT)
	/home/spinus/go/src/github.com/johnnywidth/cql-calculator/src/cql-parser (from $GOPATH)
generate.go:10:2: cannot find package "gopkg.in/yaml.v2" in any of:
	/nix/store/bg6j6r90v0mv96fq7i5iiamscwrkyby1-go-1.10.3/share/go/src/gopkg.in/yaml.v2 (from $GOROOT)
	/home/spinus/go/src/gopkg.in/yaml.v2 (from $GOPATH)

could you please advice what I can do about that?

README Installation Instructions no longer work

The installation instructions in the README no longer work.

❯ go get -u github.com/johnnywidth/cql-calculator/cmd/cql-calculator
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.