Giter Site home page Giter Site logo

gorram's Issues

benchmark support

It would be great to be able to get an instant micro-benchmark
of a function.

For example:

% gorram -bench math Sqrt 1000
2000000000 0.31 ns/op 0 B/op 0 allocs/op

named types don't work

This is just a matter of remembering to use .Underlying() judiciously, but still represents work that needs to be done.

Installation prints out compile errors

I get the following when trying to install:

$ go get npf.io/gorram
# npf.io/gorram/run
../go/src/npf.io/gorram/run/command.go:18: cannot use buf (type "golang.org/x/tools/go/types".Type) as type "go/types".Type in argument to "go/types".NewPointer:
        "golang.org/x/tools/go/types".Type does not implement "go/types".Type (wrong type for Underlying method)
                have Underlying() "golang.org/x/tools/go/types".Type
                want Underlying() "go/types".Type
../go/src/npf.io/gorram/run/command.go:21: cannot use prog.Package("io").Pkg.Scope().Lookup("Reader").Type() (type "golang.org/x/tools/go/types".Type) as type "go/types".Type in assignment:
        "golang.org/x/tools/go/types".Type does not implement "go/types".Type (wrong type for Underlying method)
                have Underlying() "golang.org/x/tools/go/types".Type
                want Underlying() "go/types".Type
../go/src/npf.io/gorram/run/command.go:22: cannot use prog.Package("io").Pkg.Scope().Lookup("Writer").Type() (type "golang.org/x/tools/go/types".Type) as type "go/types".Type in assignment:
        "golang.org/x/tools/go/types".Type does not implement "go/types".Type (wrong type for Underlying method)
                have Underlying() "golang.org/x/tools/go/types".Type
                want Underlying() "go/types".Type
../go/src/npf.io/gorram/run/command.go:121: cannot use pkg (type *"golang.org/x/tools/go/types".Package) as type *"go/types".Package in argument to getFunc
$ go version
go version go1.7 darwin/amd64

Doesn't currently compile

Doesn't currently compile

$ go install npf.io/gorram
# npf.io/gorram
./main.go:21: undefined: cli.Run
$ go version
go version go1.7.1 linux/amd64

regenall command

When upgrading to a new version, allow people to run a single command that'll upgrade all old scripts. Not strictly necessary, but might be nice if you want to avoid that first-run sluggishness.

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.